mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-24 12:07:03 +00:00
Cleaning up the brewrender
This commit is contained in:
1 parent
6474825ffb
commit
2b2b6b2793
2 files changed
+1
-6
No files matched your search
@@ -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