##// END OF EJS Templates
Replace <> with != in citation filter (invalid Py3 syntax)
Jonathan Frederic -
Show More
@@ -45,7 +45,7 b' def citation2latex(s):'
45 outtext += s[startpos:citation[1]]
45 outtext += s[startpos:citation[1]]
46 outtext += '\\cite{%s}'%citation[0]
46 outtext += '\\cite{%s}'%citation[0]
47 startpos = citation[2] if len(citation)==3 else -1
47 startpos = citation[2] if len(citation)==3 else -1
48 outtext += s[startpos:] if startpos <> -1 else ''
48 outtext += s[startpos:] if startpos != -1 else ''
49 return outtext
49 return outtext
50
50
51 #-----------------------------------------------------------------------------
51 #-----------------------------------------------------------------------------
General Comments 0
You need to be logged in to leave comments. Login now