Skip to content

Commit

Permalink
Merge pull request #43 from jekyll/xml-base
Browse files Browse the repository at this point in the history
Add xml:base attribute to the feed tag
  • Loading branch information
benbalter committed May 21, 2015
2 parents 696e234 + c4a8ab4 commit 1bfd98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<updated>{{ post.date | date_to_xmlschema }}</updated>

<id>{{ post.id | prepend: url_base | xml_escape }}</id>
<content type="html">{{ post.content | markdownify | xml_escape }}</content>
<content type="html" xml:base="{{ post.url | prepend: url_base | xml_escape }}">{{ post.content | markdownify | xml_escape }}</content>

{% if post.author %}
<author>
Expand Down

0 comments on commit 1bfd98f

Please sign in to comment.