Entities - myles/jekyll-typogrify GitHub Wiki
Convert special characters (excluding HTML tags) to HTML entities.
Input:
<p>{{ "©" | entities }} {{ site.time | date: "%Y" }} Myles Braithwaite.</p>
Output:
<p>© 2016 Myles Braithwaite</p>
Convert special characters (excluding HTML tags) to HTML entities.
Input:
<p>{{ "©" | entities }} {{ site.time | date: "%Y" }} Myles Braithwaite.</p>
Output:
<p>© 2016 Myles Braithwaite</p>