Can I use HTML in my collection titles?

I’d like to hardcode some
's in my long collection titles but it doesn’t work out of the box. Is there some sort of escape character I can employ or a place in the code I can change to allow HTML in titles?

Thanks!

Instead of adding
, add a safe separator, a character that you will never use for collection titles, like # for example.

Then you need to modify the code of your template and when you output the collection title, replace the # with
with a code similar to this

{{ collection.title | replace: '#', '
' }}