1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-05-19 05:33:04 +02:00
Andrew Gallant b41e596327
doc: escape braces in AsciiDoc
This commit fixes a bug where AsciiDoc would drop any line containing a
'{foo}' because it interpreted it as an undefined attribute reference:

> Simple attribute references take the form {<name>}. If the attribute name
> is defined its text value is substituted otherwise the line containing the
> reference is dropped from the output.

See: https://www.methods.co.nz/asciidoc/chunked/ch30.html

We fix this by simply replacing all occurrences of '{' and '}' with
their escaped forms: '&#123;' and '&#125;'.

Fixes #1101
2018-11-06 06:57:16 -05:00
..
2018-11-06 06:57:16 -05:00
2018-09-25 16:56:04 -04:00
2018-08-20 07:10:19 -04:00
2018-08-20 07:10:19 -04:00
2018-09-04 23:18:55 -04:00
2018-08-20 07:10:19 -04:00
2018-08-20 07:10:19 -04:00
2018-09-04 23:18:55 -04:00