This is the syntax highlighter trying to guess at a language for the regex. highlight.js has 3 language definitions that use an emphasis class, rendered as italic text.
Since there is very little text and there is no regex language definition for highlight.js, the highlighter ended up picking the markdown language definition and marked the part between asterisks with the emphasis class. Highlight.js uses a reasonably smart algorithm to pick languages but because the text is so short it had very little to work with.
I’ve forced the issue by disabling highlighting for that code block by setting the language to none
, like this:
```none
<lines incorrectly highlighted>
```
Note that the issue definitely is visible in the editor preview too, you just need to make sure you let the highlighter kick in (there is a few second delay after you stop editing).
none