View Single Post
Old 07-19-2017, 02:19 PM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,807
Karma: 6000000
Join Date: Nov 2009
Device: many
Okay, I just committed a "fix" that will make the opf parser more robust to missing end quotes on attribute values. The repair is not perfect but loses no text.

The non-well formed line:
Code:
<dc:contributor opf:role="art" opf:file-as="Rockwell, Norman>Norman Rockwell</dc:contributor>
will get repaired to the following which should be easy to manually fix without information loss:

Code:
<dc:contributor opf:role="art" opf:file-as="Rockwell, Norman&amp;gt;Norman Rockwell></dc:contributor>
And Sigil will continue to function properly with no Embedded Python Error.

Thank you for your bug report and for your sample code to test things with.
KevinH is offline   Reply With Quote