| Author |
Grails question
|
Higgledy Smith
Ranch Hand
Joined: Mar 07, 2006
Posts: 192
|
|
This is a question about double quotes in textArea form
My domain contains a description field, for free text entry in a form.
Suppose an object of my domain has description text which contains text that include double quotes.
The double quotes display correctly in the "Show View" but in the "Edit View" the double quotes display like this: "& quot ;" (I added spaces so that it displays the words and not the symbols.)
Why does this happen and how do I fix it?
Thank you.
|
 |
Hongli Li
Ranch Hand
Joined: Oct 29, 2006
Posts: 124
|
|
use decodeHTML to your bean property i.g domain.description.decodeHTML()
|
Do you know why this cup is useful? Because it is empty.
|
 |
 |
|
|
subject: Grails question
|
|
|