#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

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-08-13
     
    Last edit: Anonymous 2014-07-29
  • 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

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks