← Back to team overview

openlp-core team mailing list archive

[Bug 786896] Re: HTML text in slide text needs to be escaped

 

** Branch linked: lp:~googol-hush/openlp/bug-786896

-- 
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:
  In Progress

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 &lt;, &gt; and &amp;.

  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