oTree-org / oTree

Python framework for multiplayer decision games, behavioral experiments, and surveys
https://groups.google.com/g/otree
Other
464 stars 199 forks source link

Unescaped strings in app descriptions on oTree Hub #103

Open peterjc opened 3 years ago

peterjc commented 3 years ago

(Unsure if you want oTree Hub bug reports here, or just emailed to the oTree Google Group?)

I have been browsing the public projects on oTree Hub:

https://www.otreehub.com/projects/

There are lots of issues with how the app descriptions are displayed, apparently double escaped?

This includes display of "\n" (presumably a new line in the Python string which could be removed or replaced with a space), "&" and even HTML snippets like "<br/>" (over escaped HTML break) and an HTML link.

Peter

peterjc commented 3 years ago

GitHub has been helpful, using back ticks this time: I am seeing \n and &amp; and &lt;br/&gt; etc on oTree Hub