"Auto-detected account types" table broken in 1.21 docs
lubieowoce opened this issue · comments
https://hledger.org/1.21/hledger.html#auto-detected-account-types
Screenshot:
Looks like this is because mdBook uses¹ Github-flavored Markdown syntax for tables, so |
needs to be escaped in table cells.
Syntax reference: https://github.github.com/gfm/#example-200
¹ This actually took a bit of digging to confirm, but mdBook docs say it uses the pulldown-cmark
crate whose readme says it accepts GFM-style tables.
Thanks for the report and PR!
This duplicates simonmichael/hledger#1573 (understandable, since that issue was created in the main repo). I'll comment more on your PR.
PR fix was not effective, we agreed that it would make sense to apply the #1573 fix (use a literal block) to 1.21 and all old versions.
This has been done for the affected versions.