Commit 13390144 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Additional rules to check latex errors in the title.

parent db4ff11b
......@@ -70,6 +70,8 @@ def check_publication(row):
rules = "√" in title or \
("^" in title and "$" not in title) or \
("→" in title and "$" not in title) or \
("->" in title) or \
("s**(1/2)" in title) or \
REG_HTML.search(title)
if rules:
......@@ -155,7 +157,7 @@ def check_publication(row):
if ids:
text = T("Possible duplicate entries [%s]") % ', '.join(ids)
li.append(text)
return (li, ids)
......
Markdown is supported
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