Fix malformed HTML entities.

Found with grep -P -I "&[[:alnum:]#]++[^;=]" * -R
This commit is contained in:
listen2
2012-08-24 15:37:07 -04:00
committed by Max Goodman
parent 102e83fdef
commit 52c8463dfa
4 changed files with 6 additions and 6 deletions

View File

@@ -34,7 +34,7 @@
</td>
<tr><td class="small byline">${thing.score} ${ungettext("point", "points", thing.score)}
by &nbsp; <a target="reddit_pop" class="user" href="http://${get_domain()}/user/${thing.author.name}">${thing.author.name}</a>
&nbsp [<a target="reddit_pop" class="comments" href="http://${get_domain(subreddit=False)}${thing.permalink}">
&nbsp; [<a target="reddit_pop" class="comments" href="http://${get_domain(subreddit=False)}${thing.permalink}">
${thing.num_comments} ${ungettext("comment", "comments", thing.num_comments or 0)}</a>]
<td>
</tr>

View File

@@ -31,7 +31,7 @@
<%
if thing.default_sr:
sr = "&#32" + _a_buffered(thing.default_sr.name, href=thing.default_sr.path)
sr = "&#32;" + _a_buffered(thing.default_sr.name, href=thing.default_sr.path)
else:
sr = _("reddit")
%>

View File

@@ -131,7 +131,7 @@
<span class="spaces">
&nbsp;&nbsp;&nbsp;&nbsp;
</span>
if 1 * 2 &lt 3:<br/>
if 1 * 2 &lt; 3:<br/>
<span class="spaces">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>
@@ -139,7 +139,7 @@
</td>
<td>Lines starting with four spaces <br/>
are treated like code:<br/>
<pre>if 1 * 2 &lt 3:<br/>&nbsp;&nbsp;&nbsp;&nbsp;print "hello,
<pre>if 1 * 2 &lt; 3:<br/>&nbsp;&nbsp;&nbsp;&nbsp;print "hello,
world!"</pre>
</td>
</tr>

View File

@@ -133,7 +133,7 @@
<span class="spaces">
&nbsp;&nbsp;&nbsp;&nbsp;
</span>
if 1 * 2 &lt 3:<br/>
if 1 * 2 &lt; 3:<br/>
<span class="spaces">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>
@@ -141,7 +141,7 @@
</td>
<td>Lines starting with four spaces <br/>
are treated like code:<br/>
<pre>if 1 * 2 &lt 3:<br/>&nbsp;&nbsp;&nbsp;&nbsp;print "hello,
<pre>if 1 * 2 &lt; 3:<br/>&nbsp;&nbsp;&nbsp;&nbsp;print "hello,
world!"</pre>
</td>
</tr>