-
Notifications
You must be signed in to change notification settings - Fork 20
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
Markdown Not Working / Forced Linebreak Before Input #89
Comments
Thank you for the feedback, can you confirm that your second message indicates it is still not working as you expect. I have never taken account of or used the question type with Markdown, though I probably should. You can see here some examples that illustrate what I have tried with it. |
Yes, I can confirm that it's still not working.
but it should become
Since you're not doing the markdown conversion, it might be the order in which you're calling the text-conversation? Do you call it for the input and the rest of text in the line separately? |
A solution seems to be to change line 83-92 in https://github.com/marcusgreen/moodle-qtype_gapfill/blob/5aa766b49a733475ef42d20f83ba8396bec7e169/renderer.php from
to
Not sure about possible sideeffects. |
Hi Ludger, I have been going over the outstanding issues and I noticed I have not addressed this. It is still on my ToDo list to investigate. |
Describe the bug
A forced linebreak breaks markdown. This makes tables and good looking questions impossible.
To Reproduce
And set questiontext format to markdown.
Expected behavior
No line break before inputs and therefor functioning tables.
Screenshots
This problem seems to be exclusive to markdown. Unformatted text looks like this:
Other:
Question as Moodle-XML (renamed to TXT):
MarkdownNotWorking.txt
The text was updated successfully, but these errors were encountered: