rdmorganiser / rdmorganiser/rdmo

no paragraphs allowed after {more} tag in questions text

Open
#1,068 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:bug
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
  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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.