Entity escape nonsense

This commit is contained in:
Adrian Sampson 2016-06-19 13:59:04 -07:00
parent 75768c7479
commit fe5146dbc9
3 changed files with 8 additions and 8 deletions

View file

@ -2,8 +2,8 @@
<html>
<head>
<title>
beets: {% if page.shorttitle %}{{ page.shorttitle }}
{% else %}{{ page.title }}{% endif %}
beets: {% if page.shorttitle %}{{ page.shorttitle | xml_escape }}
{% else %}{{ page.title | xml_escape }}{% endif %}
</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet">
@ -58,9 +58,9 @@
<div class="col-md-12" id="header">
<h1>
{% if page.section == 'blog' %}
The beets blog: {{ page.title }}.
The beets blog: {{ page.title | xml_escape }}.
{% else %}
{{ page.title }}
{{ page.title | xml_escape }}
{% endif %}
</h1>
</div>

View file

@ -1,5 +1,5 @@
---
title: "we're pretty happy with SQLite & not urgently interested in a fancier DBMS"
title: "were pretty happy with SQLite & not urgently interested in a fancier DBMS"
---
Every once in a while, someone suggests that beets should use a "real database." I think this means storing music metadata in [PostgreSQL][] or [MySQL][] as an alternative to our current [SQLite][] database. The idea is that a more complicated DBMS should be faster, especially for huge music libraries.

View file

@ -3,7 +3,7 @@ layout: null
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>The beets blog.</title>
<link href="{{ site.url }}/blog/" />
<link href="{{ site.url }}/blog/atom.xml" rel="self" />
@ -16,12 +16,12 @@ layout: null
{% for post in site.posts %}
<entry>
<title>{{ post.title }}</title>
<title>{{ post.title | xml_escape }}</title>
<link href="{{ site.url }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{site.url }}{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}
</feed>