-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
1.7 Unexpected character "&" in Page #3162
Comments
Content of the parsed markdown is:
|
This is actually the expected result in the new parsedown library. It escapes the links. However... This is something we may want to detect and prevent from happening, content inside |
@NicoHood Can you try out the fix? |
The fix works. It looks a bit hacky with the base64 though. |
Well, the purpose was to hide the content from the Markdown parser. I thought first about just replacing certain characters, but then I thought that nothing inside twig should be seen as Markdown code: {{ 'This is *My* text.'|markdown }} as it could have crazy side effects. So I thought if I just make it to look text, there shouldn't be any issues. You can still use conditional statements and loops as only twig tags are being hidden. |
Alright, yeah I dont have any better idea. |
When using the following code (simplified) in my
default.md
usingprocess.twig: true
it fails:This worked with 1.6
The text was updated successfully, but these errors were encountered: