Browse Source
Prevent loss of backslash-escaping in tables by avoiding an effective de-backslash operation that was incorrect. Now `\\\\` always ends up producing two backslashes whether it's in a table or not. Adjust the regexps so that the `|` in `\|` does not get mistaken for the final `|` of a table row when that table row has omitted the final trailing `|`. Also silently handle a lone `\` at the end of a table row by pretending it was doubled rather than breaking the table. While in that area of the code, remove a line that computed a value which was never used. Signed-off-by: Kyle J. McKay <mackyle@gmail.com>master
Kyle J. McKay
5 years ago
1 changed files with 3 additions and 4 deletions
Loading…
Reference in new issue