HTML brackets are note displayed
Status: Beta
Brought to you by:
gnombat
Hello all,
I don't think it's coming from SHJS, but Im' not sure.
My site use PHP/MySQL.
When I want to publish some portions HTML code the brackets are being parsed
This is the source code:
<pre class="sh_php">
$conditional = '<...
and this is what I get:
$conditional = '<...
The same!
Why don't it print the opening bracket:
$conditional = '<...
If you have any idea where is the issue, let me know.It's
Have a nice day.
Philippe
Seems to work for me:
http://shjs.sourceforge.net/tmp/2900359.html
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I can see that.
Even the code you published is not working on my local machine.
It prints: $conditional = '<html>';
If i'ts not coming from the script do you have an idea about the origin of this issue?
It sounds like the problem is somewhere in the PHP code. Maybe it is getting escaped by a call to htmlspecialchars() or htmlentities(), or maybe there is an anti-XSS filter somewhere which is escaping it.