[sword-devel] plain filters

DM Smith dmsmith at crosswire.org
Mon Jun 24 04:21:10 MST 2013

Do we have any plain text modules any more? Have any of the former plain text module been withdrawn w/o being replaced with another format? That is are there any legacy reasons to support that module format?

I'm asking as JSword provides limited support (newlines are retained in the display, but that's it) for the format. The code is trivial and I don't see any reason to remove it if there are legacy modules that might benefit.

In Him,

On Jun 23, 2013, at 7:18 AM, Chris Little <chrislit at crosswire.org> wrote:

> Does anyone have an objection to the complete removal of the plain filters (PLAINHTML and PLAINFOOTNOTES)?
> These are all kinds of bad. They essentially serve to style plaintext modules and toggle footnotes in plaintext modules, and they achieve this by making big assumptions that are unlikely to be correct today (though they might have been in 1999, when these were written).
> For example, if you find {curly braces} in a plaintext module in 2013, it's unlikely to represent footnotes. We long ago move all such pseudo-markup systems to real markup formats.
> The one useful feature (maybe?) is that <, >, and & are escaped by the PLAINHTML filter. But I'm fairly certain no one actually uses this filter in any front end, so even that is of no use in 2013.
> --Chris
> _______________________________________________
> 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

More information about the sword-devel mailing list