Escape characters in format I'm trying to find a method of escaping characters in Craft's DateTime object.

This is the output I'm trying to achieve: 16th January 2016

This is what I've tried: {{ article.postDate.format('j\&lt;\s\u\p\&gt;S\&lt;\/\s\u\p\&gt; F Y') }}

This is the output: 16&amp;lt;00000000p&amp;gt;th&lt;!--00000000p--&gt; January 2016

I can achieve the output by appending output together but there has to be a better way of achieving this than the following:

{{ article.postDate.format('j') }}&lt;sup&gt;{{ article.postDate.format('S') }}&lt;/sup&gt; {{ article.postDate.format(' F Y') }}

Any pointers to documentation would be appreciated.
After trial and error I figured out you can escape characters using double backslash. 

{{ article.postDate.format('j\\&lt;\\s\\u\\p\\&gt;S\\&lt;\\/\\s\\u\\p\\&gt; F Y') | raw }}


Outputs: 14&lt;sup&gt;th&lt;/sup&gt; January 2016

In search of documentation I found a mention of double-escaping regular expressions due to Twig auto-escaping \. At this point I'm guessing this works for most Craft-Twig functions.