You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Currently, HTML comments get additional whitespace inside in the beginning and the end: <!--#TEST--> will be transformed to <!-- #TEST -->. CleverReach uses HTML comments as a programming language and doesn't support a space or any other whitespace character between the start of the comment and the command (<!--#loop #--> works, <!-- #loop # --> not).
To Reproduce
Steps to reproduce the behavior:
Create a file with this MJML code: <mjml><!--#COMMAND#--></mjml>
Render it to HTML and compare it
Expected behavior
Preserving of no or all whitespaces in HTML comments.
MJML environment (please complete the following information):
OS: MacOS
MJML Version: 4.15.3
MJML tool used: mjml-cli
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently, HTML comments get additional whitespace inside in the beginning and the end:
<!--#TEST-->
will be transformed to<!-- #TEST -->
. CleverReach uses HTML comments as a programming language and doesn't support a space or any other whitespace character between the start of the comment and the command (<!--#loop #-->
works,<!-- #loop # -->
not).To Reproduce
Steps to reproduce the behavior:
<mjml><!--#COMMAND#--></mjml>
Expected behavior
Preserving of no or all whitespaces in HTML comments.
MJML environment (please complete the following information):
The text was updated successfully, but these errors were encountered: