User:AnomieBOT/source/tasks/PERTableUpdater.pm: Difference between revisions

Content deleted Content added
AnomieBOT (talk | contribs)
Updating published sources: PERTableUpdater: * Ok, that was dumb.
AnomieBOT (talk | contribs)
Updating published sources: PERTableUpdater: * Also escape tildes, and strip pipe trick and reverse pipe trick.
Line 338:
$c=~s/</&lt;/g;
$c=~s/>/&gt;/g;
$c=~s/~/&#x7e;/g;
$c=~s/\|\]\]/]]/g; # Pipe trick
$c=~s/\[\[\|/[[/g; # Reverse pipe trick
return $c;
}