rdmorganiser / rdmorganiser/rdmo
no paragraphs allowed after {more} tag in questions text
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 133
- Forks
- 60
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 21
Description
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
- create a new question
- add {more} to the Text field
- add a text with at least two paragraphs after the {more} tag
- Open question in the questionnaire
Context / Kontext
RDMO 2.1.3, Firefox 115.13.0esr
References / Verweise
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with rdmo/core/utils.py around line 397 and reproduce the issue by creating a question with {more} followed by two paragraphs, then opening it in the questionnaire. Check how the tag processes paragraph text; done means paragraphs after {more} are hidden and documentation explains how to use the tag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100