Having our weekend break 10:16:21

It is currently a weekend from where we are at. Rest assured that we will get back to your posts as soon as the week starts!

Official support hours are from 8:30AM — 5:00PM Monday to Saturday (GMT +7)

decode html specials

Wojciech Klocek
Hi there,
I add ability to moderator, when he edit comment in backend, he can use editor (Tiny MCE e.g.). I changed filed type from textarea to editor in comment.xml. As I see it's used
$comment->comment = htmlspecialchars_decode ($comment->comment);
in item.php file, but when I add comment with strong tag or em tag it show as
<p><strong>sth like that</strong></p>
not
sth like that

2 replies

JLexArt
Hello!
You must modify these code in "save" function, not "getForm" function. From line 285->293.
ok, done :D thanks for solution
@JLexArt is wrote at 2018-08-22 07:04:02
Hello! You must modify these code in "save" function, not "getForm" function. From line 285->293.
Reply to

Sign in to your account

Use your social accounts to sign in