Commit 4d05499d authored by eric's avatar eric
Browse files

with comment

parent 01c76d4c
......@@ -122,7 +122,7 @@ def query_results_to_template_articles(query_results):
if key == "http://purl.org/dc/terms/title":
# Ad-hoc: remove footnotes from the titles!
print "found title", value
value = re.sub(r'<sup>.*</sup>', '', value)
value = re.sub(r'<sup>.*</sup>', '', value) # A revoir—apparement il y a des titles a 2 endroits, un avec syntax html un avec syntax text
value = re.sub(r'1$', '', value)
print "encoding as", value
article['title'] = value
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment