<, > problem again
-
Hi!
I’m using the wp-syntax plugin, and I really like, but I have (had) a little problem with it. If there is a > sign in my code, > will be displayed on the site.
I checked the plugin source, and the I find out that geshi cause the problem, because it converts > to >.
There was a strange (standalone) return command in the line 95. I replaced it with the following: $output = str_replace(array(“>”, “<”), array(“>”, “<“), $output);, which solved my problem, but I think it is a Geshi bug, it shouldn’t has to replace a & which is part of an HTML entity.
Best Regards,
Felhő
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘<, > problem again’ is closed to new replies.