I just upgraded Hugo to 0.61 and my code snippets don’t work as they used to.
Here’s my highlight:
Here’s the result:
The <code>
tag is never closed and eveyrthing below is rendered wrong.
This is caused by the empty line in the pasted code. Is there any way around this? I have quite a lot of snippets with empty lines (that’s how the devs paste them) and it’s going to delete all the empty lines now and make sure they’re not pasted like this in the future.