We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I'm sorry if this is not the place to submit issues on syntax highlighting. If it isn't, please let me know where I can redirect this issue.
Anyway, let me illustrate the issue with some silly HTML. Look at this code (in a .astro file):
.astro
--- const language = "FR"; --- <div class=""> <nav class=""> <div class=""> {language === "FR" ? ( <a href="" class=""> <span class="">blablabla</span> </a> ) : ( <a href="/"> <img src="/logo.png" alt="Logo" class=""> </a> <h1 class="">Thomas<br>G</h1> )} </div> <div class=""> <a href="" class=""> VITRINE DE MES PROJETS </a> </div> </nav> <div> <slot /> </div> </div> <style> p { color: red; } </style>
The syntax highlighting is off and it is because of the missing closing / on the <img> and <br> tags.
/
<img>
<br>
The problem arises even on GitHub's syntax highlighting.
Just copy paste the code above in a .astro file.
https://gist.github.com/ThomasGysemans/1198b77482498ab8d147cef7e567bf79
The text was updated successfully, but these errors were encountered:
Duplicate of #708
Sorry, something went wrong.
No branches or pull requests
Describe the Bug
Hi, I'm sorry if this is not the place to submit issues on syntax highlighting. If it isn't, please let me know where I can redirect this issue.
Anyway, let me illustrate the issue with some silly HTML. Look at this code (in a
.astro
file):The syntax highlighting is off and it is because of the missing closing
/
on the<img>
and<br>
tags.The problem arises even on GitHub's syntax highlighting.
Steps to Reproduce
Just copy paste the code above in a
.astro
file.Link to Minimal Reproducible Example
https://gist.github.com/ThomasGysemans/1198b77482498ab8d147cef7e567bf79
The text was updated successfully, but these errors were encountered: