Template:Strip color

From Caves of Qud Wiki
Jump to navigation Jump to search


Template that removes color codes from text.

Usage

{{strip color|&olalalalala&OlALALALA&YLALA!}}

lalalalalalALALALALALA!

If you're removing color codes not from an xml file (it doesn't have amp;), add "notxml" as a second argument.

{{strip color|&REat &rthe rich!| notxml }}

Eat the rich!