dovetailer
dovetailer copied to clipboard
HTML symbols getting converted to HTML entities.
Normal HTML quotes are being converted into html entities.
Example:
Code in html.handlebars:
<div id="preview_text" style="display:none !important; mso-hide:all; max-height:0; overflow:hidden; ">{% text "preview_text" label="Preview Text <span class="help-text">This will be used as the preview text that displays in some email clients</span>", value="", no_wrapper=True %}</div>
Output in production file:
<div style="display:none!important;mso-hide:all;max-height:0;overflow:hidden">{% text "preview_text" label="Preview Text <span>This will be used as the preview text that displays in some email clients</span>", value="", no_wrapper=True %}</div>
Can we change the conversion of symbols to only happen within data from content.json? I see this as beneficial, but changing intentional code within the html does not seem safe.
Is there a better solution for this problem?
@stephenprovenzano this is actually a very tricky problem. it will require some thinking to figure out how to support this...