Brilliant (R GUI) replaces <and> with & lt; and & gt; in $ script tags

Brilliant (R GUI) replaces <and> c and lt; and> in $ script () tags, how to fix this? I need to use more and less characters in my javascript.

+7
source share
1 answer

Oh, sorry about that!

Now you can work around this problem by wrapping your script lines in HTML() , which tells Shiny not to escape (this works in any context, not just inside script tags).

+7
source

All Articles