joshy / striprtf

Stripping rtf to plain old text
http://striprtf.dev
BSD 3-Clause "New" or "Revised" License
94 stars 27 forks source link

Some Text Being Missed {\fldrslt Service:}} #32

Closed Arzemn closed 2 years ago

Arzemn commented 2 years ago

I wanted to reach out to get some ideas on how best to update the code to handle a situation i have run into

I have an RTF that is encoded with text that looks like this

{\fldrslt Service:}}

currently the striprtf is not catching this and the text 'Service:' is lost

i am looking at adding some updates to try and handle this situation and since i just started down this path looking for a little guidance

akBeater commented 2 years ago

@Arzemn I have the same problem. In my case there are email-addresses saved under this "tag". I found a workaround but I don't know which impact that change has.

from striprtf.py I removed in the list 'destinations' the words 'fldrslt' and 'field'.

In my case it worked but I don't know if I broke something else ;)

amirali1690 commented 2 years ago

@Arzemn I had the same problem and @akBeater solution helped to solve the issue. Till now i haven't seen any problem

joshy commented 2 years ago

Thanks for helping out. Issue is now closed with https://github.com/joshy/striprtf/releases/tag/v0.0.21.