Hopefully this is an easy fix, as I am struggling with highlighting some HAML code using the prism library.
%pre
%code.language-haml
%header.post-header
%h1= data.title
%time{ datetime: data.date }= pretty_date(data.date)
However, it's not displaying correctly and ending up like this
https://i.sstatic.net/kAzhl.png
How can I make it look like this instead?
https://i.sstatic.net/Yi2ZY.png
This issue is really frustrating, because if I don't escape it properly, the content will be invisible.