Module talk:Escape/testcases

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search

Original:

Lua error: Internal error: The interpreter exited with status 127.

Using internal method to remove {:

Lua error: Internal error: The interpreter exited with status 127.

Using {{replace}} to remove {:

Lua error: Internal error: The interpreter exited with status 127.

No removal of { between escape/unescape (escape char not restored):

Lua error: Internal error: The interpreter exited with status 127.

Restore to original after escape

Lua error: Internal error: The interpreter exited with status 127.

Remove the word test if not escaped and then place a different escape char in the place of the old escape char (for use by something else):

Note: The '%' char is a special in Lua, so use '%%' if that is the desired replacement. Otherwise, just a single char is fine (or a word). Lua error: Internal error: The interpreter exited with status 127.