User:Larivact/sandbox/trim

From ArchWiki

Template code copied from mw:Template:Trim.

Correct:

xtestx

List symbols screw up the trim template because of w:Help:Template#Problems and workarounds:

x
:testx
x
;testx
x
*testx
x
# testx