diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-09-14 15:47:51 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-09-14 15:47:51 +0200 |
commit | bbca5bb3bbacd2bb8c85cfe54293b8c4da29dbf9 (patch) | |
tree | 7e00f64616cd5c8a551698c544220bde2fceef67 /src/scanners.re | |
parent | f1f2deda56504e53ee8c5bb15858c6256b950252 (diff) |
Allow tabs after setext header line.
See jgm/commonmark.js#109
Diffstat (limited to 'src/scanners.re')
-rw-r--r-- | src/scanners.re | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scanners.re b/src/scanners.re index 7ecf358..77d30cd 100644 --- a/src/scanners.re +++ b/src/scanners.re @@ -263,8 +263,8 @@ bufsize_t _scan_setext_heading_line(const unsigned char *p) { const unsigned char *marker = NULL; /*!re2c - [=]+ [ ]* [\r\n] { return 1; } - [-]+ [ ]* [\r\n] { return 2; } + [=]+ [ \t]* [\r\n] { return 1; } + [-]+ [ \t]* [\r\n] { return 2; } .? { return 0; } */ } |