Example AsciiDoc source (with line number, contain Chinese characters):
1: 这是一个测试
2: ------------
If you want to generate document with the code above, currently AsciiDoc
(version 8.6.3) will produce error like this:
asciidoc: ERROR: alist.txt: line 1: [blockdef-listing] missing closing delimiter
AsciiDoc mistakenly treat line 2 (the '-') as delimited block when in lex
stage. Because the length of line 1 is 6, however its column width is 12.
AsciiDoc just compare the two lines' length, actually should compare their
column width.
So I submit this patch, reference to reStructuredText's code, hope it helps.
Original issue reported on code.google.com by gaochang...@gmail.com on 1 Feb 2011 at 8:16
Original issue reported on code.google.com by
gaochang...@gmail.com
on 1 Feb 2011 at 8:16Attachments: