OpenClinica / enketo-oc

OpenClinica's fork of the Enketo web forms monorepo
Apache License 2.0
0 stars 1 forks source link

Query Widget History not displaying all data for an item if values contain < character #105

Open pbowen-oc opened 3 years ago

pbowen-oc commented 3 years ago

Steps:

  1. Change some text items to values like "some text <this will not be visible" or "some text <is missing > here"
  2. View the Query Widget and note the values are displayed as expected
  3. Close the form
  4. Reopen the form
  5. Open the Query Widget for the item

Expected: The previous values are displayed fully in the History.

Actual: Text after < (or between < and > if there is a >) is missing.

XForm: text_item.xml.txt

Instance: text_item.instance.txt

Screenshot 2021-02-01 215956