Hugo error in handling lists

Han Oostdijk


After hugo version 0.57 I noticed that a list immediately followed by a code block forces an empty line between the list and its last entry. This can be solved by inserting an non-empty line or even a comment. This was already marked as an issue in github.

My new list:

Another new list with the last entry followed by "<!-- inserted to avoid incorrect list ending -->" :

more nice code