aboutsummaryrefslogtreecommitdiffstats
path: root/rank.py
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-06-08 14:18:41 -0400
committerNick Mathewson <nickm@torproject.org>2012-06-08 14:18:41 -0400
commit645aa02c049fbd0c02fd72ce330bed8d7684be64 (patch)
tree58eea7aae4953dc93ddd0925ed5026aab3eecd62 /rank.py
parent6bf41292c1807437ec7472f7957227f6736109b0 (diff)
downloadanonbib-645aa02c049fbd0c02fd72ce330bed8d7684be64.tar.gz
Bang on the scripts until the W3C validator is happy
Apparently our output was trying to be XHTML 1.0 transitional. Now, it actually is.
Diffstat (limited to 'rank.py')
-rw-r--r--rank.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rank.py b/rank.py
index c467f92..175a10d 100644
--- a/rank.py
+++ b/rank.py
@@ -116,6 +116,8 @@ def get_rank_html(title, years=None, base_url=".", update=True,
html = ''
+ url = url.replace("&","&amp;")
+
# Hotness
H,h = 50,5
if s >= H: