If the odf_odt writer is used on an "inline" element with no class names, it dies with an UnboundLocalError. Checking for 0 classes fixes this.
You seem to have CSS turned off.
Please don't fill out this field.
To the original poster -
Thanks for reporting this.
Could you give me (1) a snippet of reStructuredText that produces this problem, and also (2) a traceback.
Thanks in advance.
Wait. I did not see that you had attached a patch. Thanks. I've applied it.
But, could you still post a reStructuredText snippet. I'd like to test that change to make sure it works.