Quote:
Originally Posted by kovidgoyal
Pot, meet kettle.
|
OK kettle, in the loop at line 160 in template.py, why not just wrap the li=LI(... and li.append(... statements in try:/except: and just put a message in the log and continue on the exception. Chances are the only reason those two statements would fail is illegal character codes--nothing to do with parsing structure so falling back to another parser wouldn't fix that.
I'm not suggesting you "rush off" and do that immediately though!