Escaping < and > in Readme.md inside code tags

30 views
Skip to first unread message

smilb

unread,
Jun 20, 2014, 5:42:10 PM6/20/14
to shiny-...@googlegroups.com
Shiny appears to escape < and > in Readme.md, but when rendering them leaves them as the HTML entity codes when they are inside code tags.  For example, the following would render incorrectly if in the Readme.md file:

Here is an example command `a < 5`, which tests whether a is < 5.

The first < will show up as a &gt;, the second one will render properly.  Any way to work around this?

Yihui Xie

unread,
Jun 27, 2014, 12:01:01 AM6/27/14
to smilb, shiny-discuss
Thanks for the report! I noticed this problem as well. I think this is
a bug of showdown.js. I have filed an issue here:
https://github.com/rstudio/shiny/issues/529

Regards,
Yihui
Reply all
Reply to author
Forward
0 new messages