Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed : On-wiki training_slide with quiz doesn't include complete question prompt #6137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

omChauhanDev
Copy link
Contributor

What this PR does

Fixes #5823

This PR improves quiz question formatting by:

  • Adding multi-line support for quiz content parsing
  • Removing unwanted wiki markup (colons and triple quotes) from rendered content
  • Preserving proper line breaks and paragraph formatting

Technical Changes

  • Updated template_parameter_value in WikiSlideParser to handle multi-line content
  • Modified regex pattern to safely remove wiki formatting characters
  • Added markdown processing for quiz questions in the frontend Quiz component

Screenshots

Before:
Before

After:
After

Testing

  • Added new quiz with multi-line content
  • Verified formatting in both backend parsing and frontend display
  • Confirmed existing quiz functionality remains unchanged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

On-wiki training slide with quiz doesn't include complete question prompt
1 participant