Closed charlie-eth closed 9 years ago
This character is used internally to keep track of mentions in textarea. You probably getting textarea's value directly, instead of using methods, which causes such an issue.
Actually, I use getMentions and getValue which returns this
where content is the raw content of my textarea (which is the string I store in my database).
I guess I'll just do some str_replace on it.
Thanks
You shouldn't be using raw content of the textarea. Use getRawValue
instead.
It's not listed as a method so didn't know it was a thing!
That will help, thank you!
I just added it. Your use case is little different from mine, so I didn't have it before
Thank you!
I get this character after every mention which I haven't managed to remove
and it shows as a question mark when I output it:
Apparently, it's a character Chrome can't display (see http://stackoverflow.com/questions/23511275/json-response-format-error-red-dot-bullet-before-response)
char var dump returns this: ""
Any thoughts on why this is happening?