User:Seppi333/sandbox

The only inputs that will bork the revised module output
The only way to bork the revised module is to nest a span tag with a tip or ttip class within another span tag with a class other than tip or ttip. I can't really think of a way to address this, but then again, people shouldn't be nesting that template within another span tag to begin with.

For example,  should appear as "   Physical attack with magic damage. See the mechanics page.  Magic* damage (1.2x) "; but in the Ability Awakening section, it will cut the color, updated/bold the string, and render a slightly borked tooltip like this:  Physical attack with magic damage. See the mechanics page. Magic* damage (2x)"