mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-26 15:28:37 -05:00
Fix malformed HTML entities.
Found with grep -P -I "&[[:alnum:]#]++[^;=]" * -R
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
</td>
|
||||
<tr><td class="small byline">${thing.score} ${ungettext("point", "points", thing.score)}
|
||||
by <a target="reddit_pop" class="user" href="http://${get_domain()}/user/${thing.author.name}">${thing.author.name}</a>
|
||||
  [<a target="reddit_pop" class="comments" href="http://${get_domain(subreddit=False)}${thing.permalink}">
|
||||
[<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>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
<%
|
||||
if thing.default_sr:
|
||||
sr = " " + _a_buffered(thing.default_sr.name, href=thing.default_sr.path)
|
||||
sr = " " + _a_buffered(thing.default_sr.name, href=thing.default_sr.path)
|
||||
else:
|
||||
sr = _("reddit")
|
||||
%>
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
<span class="spaces">
|
||||
|
||||
</span>
|
||||
if 1 * 2 < 3:<br/>
|
||||
if 1 * 2 < 3:<br/>
|
||||
<span class="spaces">
|
||||
|
||||
</span>
|
||||
@@ -139,7 +139,7 @@
|
||||
</td>
|
||||
<td>Lines starting with four spaces <br/>
|
||||
are treated like code:<br/>
|
||||
<pre>if 1 * 2 < 3:<br/> print "hello,
|
||||
<pre>if 1 * 2 < 3:<br/> print "hello,
|
||||
world!"</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -133,7 +133,7 @@
|
||||
<span class="spaces">
|
||||
|
||||
</span>
|
||||
if 1 * 2 < 3:<br/>
|
||||
if 1 * 2 < 3:<br/>
|
||||
<span class="spaces">
|
||||
|
||||
</span>
|
||||
@@ -141,7 +141,7 @@
|
||||
</td>
|
||||
<td>Lines starting with four spaces <br/>
|
||||
are treated like code:<br/>
|
||||
<pre>if 1 * 2 < 3:<br/> print "hello,
|
||||
<pre>if 1 * 2 < 3:<br/> print "hello,
|
||||
world!"</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user