-
Notifications
You must be signed in to change notification settings - Fork 73
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
Content in Body. '<' symbol in code ¿fix? #29
Comments
Thank you @DiegoJArg once again for creating a detailed issue. I have a few questions to better understand your suggestion.
|
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. I like the non-intrusive inclusion of the parser, but also that it content in Body allows to place <script> tags and be executed. For example, embeddeds from pastebin:
<script type="text/javascript" src="https://pastebin.com/embed_js/SUVEeRbi"></script>
The problem with this as the docs says, may be fixed by non-markdown but html-tags.
Can be fixed very easily by replacing ``` with the html deprecated tag <xmp>. Althoug it doesn't gets converted to <PRE><CODE> preserving the same style.
According to stackoverflow answers, there is no direct replacement, but xmp continues to work on browsers. The most similar one is <pre><code> which is the one used by markedjs to replace ```
But if we attempt to use it, the markedjs parser will add spaces between " code " and some erratic code is added as well.
If this behavior can be fixed, we could use precode or just code to replace ``` for this mode.
The text was updated successfully, but these errors were encountered: