-
Notifications
You must be signed in to change notification settings - Fork 273
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
:help_text should recognize html tags #284
Comments
Do you know around when this behavior changed? It may be the result of using a more recent Rails version. In Rails 3 (I think) Rails started escaping all strings unless they are explicitly safed. This is a security measure, but it is probably reasonable for Surveyor to assume that DSL-provided strings are already safe. |
The latest it used to work for is under rails 2.3.11 |
I don't think that HTML is the best choice for formatting in Surveyor, since we expect the same survey definition to work for surveyor and nu_surveyor. #285 |
Consolidated into #413 |
:help_text used to recognize html tags but not any more
Example below:
will be displayed on the page as;
Same with
<b>
,<u>
and I assume others that were supported.The text was updated successfully, but these errors were encountered: