openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #09160
[Bug 786896] Re: HTML text in slide text needs to be escaped
** Changed in: openlp
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/786896
Title:
HTML text in slide text needs to be escaped
Status in OpenLP - Worship Presentation Software:
Fix Committed
Bug description:
We've had a couple of forum posts now reporting problems with characters like &, < and > in the slide text.
We shouldn't expect the user to need to know to escape these, and in the case of Bible text they don't have the opportunity to do this anyway.
All text, other than that which originates from a {} display tag,
should replace <, > and & with <, > and &.
Note this change will cause backwards compatible issues for those
people who have intentionally made use of HTML tags so it would need
mentioning in release notes, but they should be able to replace it
with a display tag instead.
(Note, this should only be done at render time. Text should be stored
as-is in the database as this shouldn't care about how it is
displayed)
References