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

Display full HTML messages if provided by the `incorrect` or the `correct` args to `question() ` #146

Merged
merged 2 commits into from Mar 9, 2018

Conversation

@bborgesr
Copy link
Contributor

@bborgesr bborgesr commented Mar 8, 2018

This was a quick fix on the JS side: essentially grab the .html() provided by the incorrect (and thecorrect) arguments to question(). Previously, we were grabbing the .text(), which stripped the html rich formatting when provided.

@jjallaire, this seemed like low hanging fruit for this release. Let me know if you think that it risks regression or anything else I might have overlooked.

Closes #136.

… `correct`) arguments to `question()`. previously, we were grabbing the .text(), which stripped the html rich formatting.
@bborgesr bborgesr requested a review from jjallaire Mar 8, 2018
@bborgesr bborgesr mentioned this pull request Mar 9, 2018
7 of 7 tasks complete
@bborgesr
Copy link
Contributor Author

@bborgesr bborgesr commented Mar 9, 2018

@mine-cetinkaya-rundel, can you confirm that installing this branch fixes your use case from #136: remotes::install_github("rstudio/learnr@fix136")?

Copy link
Member

@jjallaire jjallaire left a comment

Yes, this looks good to me!

@bborgesr bborgesr merged commit 838cd71 into master Mar 9, 2018
@bborgesr bborgesr deleted the fix136 branch Mar 9, 2018
@mine-cetinkaya-rundel
Copy link
Collaborator

@mine-cetinkaya-rundel mine-cetinkaya-rundel commented Mar 9, 2018

yup, it's working for me too, thanks!

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

Successfully merging this pull request may close these issues.

3 participants
You can’t perform that action at this time.