1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-13 15:45:57 +00:00

Cleaning up the brewrender

This commit is contained in:
Scott Tolksdorf
2016-05-29 13:26:34 -04:00
parent 6474825ffb
commit 2b2b6b2793
2 changed files with 1 additions and 6 deletions

View File

@@ -23,7 +23,7 @@
- Bumped up the allowed entity size for extra-large brew (Thanks for reporting it dickboner93)
- Added a little error box when a save fails with a custom link to reporting the issue on github.
/page
\page
### Saturday, 14/05/2016 - v2.0.0 (finally!)

View File

@@ -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;