Quote:
Originally Posted by KevinH
I looked at the plugin.py file. The Tk stuff will have to be updated but most of the real work is done in Remove which uses regular expressions to simply strip off all attributes from a specified set of tags inside a body tag.
If you don't have time, I would be happy to try to make a version that will work with both python2.7 and 3.4 so that the new version will still work for people using older Sigil versions that still support python 2.7.
Just let me know.
KevinH
|
If you decide to proceed, I have some tiny corrections that enable smoothRemove to deal with < b >, < blockquote > and < i > correctly. As it stands, the "bold" tag doesn't get closed and blockquote is just deleted entirely. I forget what's wrong with the "italic" tag. I'll be watching my inbox here at least once a day.