Forum Not Allowing Special Character

0

I implemented a <pre> <code> 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.)

Question Resolved For: Simple Forum - Responsive Bulletin Board 0 Votes 3 Answers 1.3k Views
Asked by Daniel Voipan 1 year ago

0

Answered by Daniel Voipan

Solved the issue by replacing strip_tags with htmlspecialchars in function encode_html from Tec.php

0

Answered by Mian Saleem 1 year ago

Hello,

You can check the encode_html method of app/libraries/Tec.php

Can you please take a screenshot where it <= is not allowed?

Thank you

0

Answered by Mian Saleem 1 year ago

Thank you for updating

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.