-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
I wrote this in the <textarea>:
html {
font-size: 16px; /* por defecto son 16 píxeles */
}
header {
font-size: 20px;
width: 2rem;
}
and in the preview mode, its sees this:
if you can see, the code comment aren't working well, because its sees just the slash but not the asterisk.
This happen because this part of the preview__mode.js code:
htmlTexto = htmlTexto.replace(/\*(.+?)\*/g, '<i>$1</i>');its replacing asterisks with HTML italic tags, including code snippets. However, I don't know how to exclude it from this replacement.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
