Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
small TextFormatter bug I just noticed
check out this url: http://www.patrix.org/members
no, it doesn't exist... the actual url is http://www.patrix.org / members (without the spaces), but text formatter seems to parse the url to make it a <a href> PLUS it parses the / me part to expand it to my nickname...
woops! ;)
Patrix.
0
This discussion has been closed.
Comments
edit /library/Utility.StringManipulator.class, line 55, replace:
$sReturn = str_replace("/me", $this->GetAccountLink($Object), $sReturn);
with:
$sReturn = preg_replace("/\/me([\s\'(<br \/>)])/", $this->GetAccountLink($Object)."$1", $sReturn);
this will only trip the parser if /me is followed by a space, a single quote ( ' ) (since people like to do /me's) or if it's on a line by itself. (want to match the least conditions possible, so no [^\w])
though i wouldn't blame mark if he'd be unwilling to provide you support if you (or anybody!) screw with the libraries