mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-13 21:42:45 +00:00
Moved imgs and fonts into the new style folder
This commit is contained in:
@@ -10,7 +10,7 @@ renderer.paragraph = function(text){
|
||||
if(!matches) return `\n<p>${text}</p>\n`;
|
||||
let matchIndex = 0;
|
||||
const res = _.reduce(text.split(blockReg), (r, text) => {
|
||||
if(text) r.push(`\n<p>${text}</p>\n`);
|
||||
if(text) r.push(Markdown(text, {renderer : renderer, sanitize: true}));
|
||||
const block = matches[matchIndex];
|
||||
if(block && _.startsWith(block, '{{')){
|
||||
r.push(`\n\n<div class="${block.substring(2).split(',').join(' ')}">`);
|
||||
|
||||
Reference in New Issue
Block a user