[sword-devel] RTFHTML filter bugs
Jaak Ristioja
jaak at ristioja.ee
Tue May 20 15:27:36 MST 2014
I've never done BiDi, but I'm not sure I need to take that into account
while fixing the RTF parsing. As I currently understand it, this
particular piece of code does not support any part from the RTF spec
dealing with bidirectional text handling. Hence all BiDi information
contained in the configuration file strings (e.g. About=) is contained
either in the plain ASCII text or the \u<num> Unicode escapes which this
algorithm should pass through unmodified.
...except for HTML entities which should actually be escaped. This bug
in the algorithm I previously failed to notice. Additionally I forgot
that non-ASCII characters in the input string should also lead to
parsing failure.
Jaak
On 20.05.2014 21:01, David Haslam wrote:
> Take care with Right to Left languages such as Hebrew.
>
> i.e. After any patches to the filter, please include some testing for BiDi
> text in the About= field and others.
>
> David
>
>
>
> --
> View this message in context: http://sword-dev.350566.n4.nabble.com/RTFHTML-filter-bugs-tp4653969p4653970.html
> Sent from the SWORD Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 2916 bytes
Desc: OpenPGP digital signature
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20140521/043a7201/attachment.sig>
More information about the sword-devel
mailing list