-
Notifications
You must be signed in to change notification settings - Fork 1
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 of description impossible by htmlhelper #13
Comments
I've been playing with this one. If we don't filter all html, we can run into problems when someone inserts a script tag (or worse). I'm happy to consider a better approach. |
I solved this by not using htmlhelper and writing into a div (I think it was a div). |
if we filter all html, there is no use for having an html editor ... |
Alternatively, what if we used a whitelist of tags? We would need: b, strong, i, em, ul, ol, li, p, blockquote, and... what else? |
I think the helper replaces the htmlspecialchars, so a strong will not be displayed as bold, but rather the html will be displayed as plain text.
Replacing the helper (only for description) with an echo of the descriptiion displays the formatted note
The text was updated successfully, but these errors were encountered: