Fixed : On-wiki training_slide with quiz doesn't include complete question prompt #6137
+52
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does
Fixes #5823
This PR improves quiz question formatting by:
Technical Changes
template_parameter_value
inWikiSlideParser
to handle multi-line contentScreenshots
Before:
![Before](https://private-user-images.githubusercontent.com/119471995/404353228-bfda6fcf-ab04-49b7-82a1-3c17a6459f06.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTg0NDIsIm5iZiI6MTczOTAxODE0MiwicGF0aCI6Ii8xMTk0NzE5OTUvNDA0MzUzMjI4LWJmZGE2ZmNmLWFiMDQtNDliNy04MmExLTNjMTdhNjQ1OWYwNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQxMjM1NDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1jODdmZWY5MTIwNGI4ZjZlMDdhZmQ0MjkzMGMwNmZjNmI3NTVmYjYyNzNjMzI2MTAwYmUwYjhhNjhm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