Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If post.title were to contain one of '&', '<', or '>', the XML would become invalid. xml_escape is a Jekyll extension of Liquid to safely escape values. Using straight Liquid, this could also be done with: <title type="html"> {{ post.title | escape | replace:'&','&' | replace:'<','<' | replace:'>','>' }} </title> (Note, type=html and then the additional XML escaping.)
- Loading branch information