2009/10/14 Hans <[email protected]>: > Seeing html special characters codes in code pages, rather than the > characters, > is caused in markups.php function BOLTMcode() line 152: > > $code = htmlspecialchars($code, ENT_NOQUOTES); > > which causes already encoded characters to be encoded again: > for example > is encoded as &gt; > > commenting out the line removes the problem.
hmmm, commneting it out also gives the problem with <markup>...<markup> So I suggest to do instead with that line this: if ($type == 'markup') $code = htmlspecialchars($code, ENT_NOQUOTES); both problems seem to have gone now. code pages look good, <markup> works, /= ...=/ escapes work as well (worked before). cheers, Hans --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "BoltWire" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/boltwire?hl=en -~----------~----~----~----~------~----~------~--~---
