Open ghost opened 2 years ago
That looks like a GNU Nano problem instead of a highlighting problem.
Anyway, what's your platform? I can't replicate on Ubuntu 18.04 with nano
6.2.
Apologies for the delay. I believe it was macOS I was on at the time.
In this example, you can see that:
2020
becomes>202
</tr>
becomes</tr>>
nano without html.nanorc:
with html.nanorc
Root cause seems to be the handling of emoji. I created a tr without one and it displays fine:
You can see in the image that the date isn't corrupted and no trailing ">" inserted.
Now that I've tasted syntax highlighting I can't go back. I hope this is fixable :) Thanks for the effort! Source code attached. index.html.txt