DV
Asked
I implemented a
to highlight code. Everything works ok but some characters aren’t allowed in forum post like “<=”. If the character is written everything bellow it is removed from post text. How can i except it or where i have to modify to except it or others like it (<= its available in javascript, so i guess thats why it isn’t allowed.)
- MSAnswered
Hello,
You can check the
encode_html
method ofapp/libraries/Tec.php
Can you please take a screenshot where it
<=
is not allowed?Thank you
- DVAnswered
Solved the issue by replacing strip_tags with htmlspecialchars in function encode_html from Tec.php
- MSAnswered
Thank you for updating
- Login to Reply