Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#82 Fix odf_odt fails on some inline elements

open
nobody
None
5
2011-08-13
2011-08-13
Anonymous
No

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.

Discussion


  • Anonymous
    2011-08-13

     
    Attachments
  • Dave Kuhlman
    Dave Kuhlman
    2011-08-15

    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.

    - Dave

     
  • Dave Kuhlman
    Dave Kuhlman
    2011-08-15

    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.

    Thanks, again.

    - Dave