mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-29 13:22:40 +00:00
Cleaning up the brewrender
This commit is contained in:
@@ -11,11 +11,6 @@ renderer.html = function (html) {
|
||||
var openTag = html.substring(0, html.indexOf('>')+1);
|
||||
html = html.substring(html.indexOf('>')+1);
|
||||
html = html.substring(0, html.lastIndexOf('</div>'));
|
||||
|
||||
console.log(html);
|
||||
|
||||
console.log(Markdown(html));
|
||||
|
||||
return `${openTag} ${Markdown(html)} </div>`;
|
||||
}
|
||||
return html;
|
||||
|
||||
Reference in New Issue
Block a user