I'm running into the same problem.
I have an application that produced RTF, and I want to convert those files to XML.
The problem is that rtf2xml doesn't seem to reset the Bold or Italic attributes when encounters \plain. Unfortunately, the RTFs that my target app produces only uses \plain to turn these off, so once they're on, they stay on.
I've been looking through the source, but I'm not a Python user, so I'm having trouble finding where to implement this.
Log in to post a comment.