Skip to content

Commit

Permalink
Xml Escape for Author Name
Browse files Browse the repository at this point in the history
The following xml contains a unescaped "&", which is not valid:

    <author>
      <name>Bulma: Free, open source, & modern CSS framework based on Flexbox</name>
      <email>[email protected]</email>
    </author>

This change should fix it.
  • Loading branch information
robertmuehsig authored and jgthms committed Jan 23, 2019
1 parent 4799e0b commit a1d1cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<id>{{ site.url }}</id>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<author>
<name>{{ site.data.meta.title }}</name>
<name>{{ site.data.meta.title | xml_escape }}</name>
<email>[email protected]</email>
</author>
<atom:link href="{{ site.url }}/atom.xml" rel="self" type="application/rss+xml" />
Expand Down

0 comments on commit a1d1cb3

Please sign in to comment.