jQuery-Litelighter
jQuery-Litelighter copied to clipboard
Can't render HTML text
Hi - HTML code does not render proper html tags, only the contents of those tags.
for example <div>Hi</div> just renders as `Hi``
I've made sure to set the lllanguage attribute to html.
The browser is going to render this, it won't be text. These need to be escaped just as if you're displaying plain text code in a pre tag. So rule of thumb is if it displays properly without litelighter with pre or code tag it should be good to go. So you should have <div>Hi</div>
Ah, thanks!