-
Notifications
You must be signed in to change notification settings - Fork 24
fix output escaping #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Do you foresee any problems with other properties besides content, e.g. background image URLs? |
@kof every backslash should be escaped, otherwise, it's used as an escape character and escapes the next character. Does it make sense for you? |
yeah, anyways I am gonna merge it and we will see |
Actually, it only makes sense if the escaping character is inside of a string value, like in case of content. Other properties may have actual character escape, which you would unescape. |
I think ultimately we should move |
The other properties within the actual escape character are not affected because the escape character is not represented by a backslash. |
@kof Could you give me an example of values that you were mentioning before? |
Literally any value that potentially is escaped, so the backslash is actually escaping and doesn't need unescaping. Can be content, can be url |
|
At this case, my fix transpiles it to |
yea but it is supposed to render |
nope, just test it out on own example |
@kof ping 😃 |
actually I can add this example too |
I faced the same problem, tested on my example, and for me, it works well. |
During a conversion process via command
escaping characters should be escaped:
should became