The Un-Official Proxomitron Forum

Full Version: Common chars are encoded in BB CODE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Numerical encoding for common punctuation such as parentheses:
http://prxbx.com/forums/showthread.php?tid=218
http://prxbx.com/forums/showthread.php?tid=714

but partly left unencoded in
http://prxbx.com/forums/showthread.php?t...57#pid2457

I wondered if my filters were causing this, but I see no matches in this part of page when using "Html Debug Info" in proxo log window.
very peculiar...
i'm seeing it here also, does not appear to be filter-related...
Does this,

Code:
[Patterns]
Name = "prxbx fix code  (2012.08.27)"
Active = TRUE
URL = "$TYPE(htm)prxbx.com/forums/showthread.php"
Limit = 6
Match = "\&(^(^#))"
Replace = "&"

, fix all?

If yes, admins might be able to correct with something like

Code:
[Patterns]
Name = "prxbx fix code post for admins  (2012.08.27)"
Active = FALSE
Multi = TRUE
URL = "$TYPE(htm)prxbx.com/forums/editpost.php?"
Bounds = "<textarea*</textarea>"
Limit = 32764
Match = "(\1\&amp;(^(^#))$SET(a=$GET(a)\1\&))+\2"
Replace = "$GET(a)\2$SET(a=)"
I found an online converter that produces proper looking (to my eye) results
http://www.convertstring.com/EncodeDecode/HtmlDecode
Reference URL's