I have been working to clean up my templates and move all layouts to inherit from the file default.html
. I use Rouge to highlight code and have found that it will consistently insert a <highlight>
tag or preformatted block inside the posts “for loop” on my index.html when the site is generated.
As a result, extra markup appears in each entry and class attributes used to style them are rejected.
Is this a bug in Rouge or how should go about I changing my layouts to remove this markup?