rdmo icon indicating copy to clipboard operation
rdmo copied to clipboard

no paragraphs allowed after {more} tag in questions text

Open jwindeck opened this issue 7 months ago • 0 comments

Description / Beschreibung

The {more} tag in question texts does not allow paragraphs in the hidden text. Also there is no documentation on how to use the tag

Expected behaviour / Erwartetes Verhalten

Text with paragraphs after the tag {more} is hidden. Also there should be some documentation on how to use the tag.

Steps to reproduce / Schritte zum Reproduzieren

  1. create a new question
  2. add {more} to the Text field
  3. add a text with at least two paragraphs after the {more} tag
  4. Open question in the questionnaire

Context / Kontext

RDMO 2.1.3, Firefox 115.13.0esr

References / Verweise

  • https://github.com/rdmorganiser/rdmo/issues/595
  • https://github.com/rdmorganiser/rdmo/blob/5c469a135e7fc4874659a28437cc7d5d78f3289e/rdmo/core/utils.py#L397

jwindeck avatar Jul 19 '24 13:07 jwindeck