(Cross posted from the Teddy Hyde blog)

Someone using Teddy Hyde recently tried to use HTML entities inside their blog title.

1
title: <my html="tag">

Jekyll crashed when generating the page with:

1
malformed XML: missing tag start

Even putting the escape character (&lt;) did not work.

The solution is to do this:

1
2
title: |
    &lt;my html="tag"&gt;