0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 10:32:39 +00:00

Clarify comments

This commit is contained in:
Trevor Buckner
2024-05-03 15:01:04 -04:00
parent 193cde0925
commit 660a586a7c

View File

@@ -50,7 +50,7 @@ renderer.html = function (html) {
return html; return html;
}; };
// Don't wrap {{ Divs or {{ empty Spans in <p> tags // Don't wrap {{ Spans alone on a line, or {{ Divs in <p> tags
renderer.paragraph = function(text){ renderer.paragraph = function(text){
let match; let match;
if(text.startsWith('<div') || text.startsWith('</div')) if(text.startsWith('<div') || text.startsWith('</div'))