Bug with "Set Question" to "Correct Answer"

Lectora v21.2

I have a multiple response question with 3 correct options, 2 of them contain quotes.

I have a button "Show correct answer" that sets the question to the "correct answer" and processes it. When I click only the option without quotes is selected and afterwards the "Incorrect" Feedback is displayed (which of course is appropriate as the answer is not correct).

Happens with both double and single quotes. When I remove the quotes, it works.

Discussion (3)

Thanks for the suggestions. I'd expect all characters in the textfield to just be displayed as entered. It should be corrected in the programming of that action.

A line break in a button can be done with [Ctrl]+[Enter]

Hey Tim,

Perhaps replacing the single quote for \' might do the trick. would you at all be able to share the source file?

Mo

Hi @timk ,

When I add text to my buttons and then need to add a line break, I have to add the
in where I need a new line. I do this because carriage return (ENTER) does not work.

Would adding the unicode value work (I haven't tried)...

https://www.w3.org/wiki/Common_HTML_entities_used_for_typography