Symbols in input that can cause issues?

Discuss macro implementations, ask for macro help (to share your creations, see User Creations, probably either Campaign Frameworks or Drop-in Resources).

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice

Post Reply
Merudo
Giant
Posts: 228
Joined: Wed Jun 05, 2019 7:06 am

Symbols in input that can cause issues?

Post by Merudo »

I've recently noticed that a token with a comma , in its name made a few of my macros crash.

The comma screwed up with my name lists, making a single element counts as two.

I also know strings with the HTML symbols <> can be problematic. A token named something like "<!--" or "</table>" can screw up the output bad.

However I tried to find other problematic symbols and everything seems to work fine for most purposes.

I guess I need to be extra careful with strings ending up in eval() statement, but otherwise I should be good, right?

Or are there most symbols I should watch out for?

Post Reply

Return to “Macros”