[sword-devel] RTF in conf files
David "Judah's Shadow" Blue
yudahsshadow at gmx.com
Wed Apr 24 11:46:22 EDT 2024
On Tuesday, April 23, 2024 10:41:39 AM EDT Troy A. Griffitts wrote:
> Yes, you are correct, there was no RTFPlain filter. If you svn update,
> you should see it now. I just copied the RTFHTML filter and changed it
> to output newlines instead of <br/> and a couple tabs for center. I was
> surprised to see how few RTF tags we support in this filter, but these
> must be the only ones we list on the wiki because I use the RTFHTML
> filter everywhere. I also remember we support 1 single HTML tag, so you
> will likely need to handle this in your frontend: <a href="link">Link
> Text</a>
Awesome. Since we just use the 3 formatting tags so far, I'll keep my
processing for now so I'm not requiring users to build against SVN. Once 1.9.1
(or whatever is next) is released I'll work on switching it over to the new
filter.
The only RTF tag I'm not handling right now is the \uXXX? Tag. I assume the
new RTFPlain filter will properly substitute the correct Unicode/ASCII as
needed?
> Sorry about the misinformation.
Not at all. I was certain I was missing something myself.
More information about the sword-devel
mailing list