Content Block Filtering

Permalink
Hi,

I've added a custom character (lower case 'a' with a macron) into the TinyMCE editor, it shows up fine in the TinyMCE editor window - until I hit the update button at least.

After I hit update it turns the character into a question mark.

Now, my DB encoding and collation are set to UTF-8 as per other threads in the forum, plus adding the html entity code
ā
in an HTML block works fine (see attached image).

So my question is how is the content block input sanitised and filtered?

I see the textarea/controller.php file calls the htmLawed.php third party library, so I thought adding the html entity into the allowed array in the htmLawed.php file would be a good place to start
'diams'=>'9830', 'amac'=>'257', 'apos'=>'39',
but this doesn't seem to make any difference?

Anyone have any ideas?

Cheers,

Dan

1 Attachment

drichardson23