Textarea element truncation in list

tali

Member
When textarea element truncate options are set to
- truncate in list
- retain HTML to No
the hint says that "all HTML tags will be stripped before rending".

This is great, but it is only half work.

If you have a text with chars like ' these will be rendered as is.
I have not been looking at the code, but my suggestion is to do an html_entity_decode after the strip_tags
 
It does exactly what it says on the tin. Tags are stripped. :)

So do you have text with &#039 in it that isn't being converted back to single quote, or do you have text with single quotes being converted to that entity?

-- hugh
 
My users do paste the text with '
In the editor inside the form it shows correctly the '
But in the list we see '

So tags are stripped : that's Ok.
To get also rid of the special chars in the list would be nice to have
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top