Bumamgar
July 26th, 2014, 01:38
PAR5E parses the ';' for tables without recognizing HTML tokens, resulting in oddness if one needs to embed a special character in the table.
For example:
#h;Random Height and Weight
#ts;
#th;Race;Base Height;Height Modifier;Base Weight;Weight Modifier
#tr;Human;4'8"e;;+2d10;110 lb.;x (2d4) lb.
#tr;Dwarf, hill;3'8";+2d4;115 lb.;x (2d6) lb.
#tr;Dwarf, mountain;4';+2d4;130 lb.;x (2d6) lb.
#tr;Elf, high;4'6";+2d10;90 lb.;x (1d4) lb.
#tr;Elf, wood;4'6";+2d10;100 lb.;x (1d4) lb.
#tr;Halfling;2'7";+2d4;35 lb.;x 1 lb.
#te;
Results in a view like the attached.
If I simply use the " character, PAR5E escapes it rather than converting it, so I end up with \" in my text.
Either PAR5E should properly encode characters like " (turning it into ") rather than escaping them; or it should somehow recognize such tokens and ignore them when looking for a ';' in a parsed line.
For example:
#h;Random Height and Weight
#ts;
#th;Race;Base Height;Height Modifier;Base Weight;Weight Modifier
#tr;Human;4'8"e;;+2d10;110 lb.;x (2d4) lb.
#tr;Dwarf, hill;3'8";+2d4;115 lb.;x (2d6) lb.
#tr;Dwarf, mountain;4';+2d4;130 lb.;x (2d6) lb.
#tr;Elf, high;4'6";+2d10;90 lb.;x (1d4) lb.
#tr;Elf, wood;4'6";+2d10;100 lb.;x (1d4) lb.
#tr;Halfling;2'7";+2d4;35 lb.;x 1 lb.
#te;
Results in a view like the attached.
If I simply use the " character, PAR5E escapes it rather than converting it, so I end up with \" in my text.
Either PAR5E should properly encode characters like " (turning it into ") rather than escaping them; or it should somehow recognize such tokens and ignore them when looking for a ';' in a parsed line.