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:
@@ -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!)
|
||||
|
||||
|
||||
@@ -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