diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-07 20:58:10 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-08 15:37:54 +0200 |
commit | b18302253c93727b28da8d128fbb204c21b62815 (patch) | |
tree | 557d473c742b57bd3101aaf512733c2c01466ec3 /emparse | |
parent | cd943ef6b47b00c73b3b544fb3ecb07c91511f0d (diff) | |
download | em-b18302253c93727b28da8d128fbb204c21b62815.tar.gz |
Add UNIX support
Diffstat (limited to 'emparse')
-rwxr-xr-x | emparse | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -191,9 +191,9 @@ function item(level, type, line) { printf "<li>" } if (type == "ol") { - match($0, "[0-9a-z]+\.") + match($0, "[0-9a-z]+\\.") v = substr($0, RSTART, RLENGTH-1) - sub("^ +[0-9a-z]+\. ", "") + sub("^ +[0-9a-z]+\\. ", "") listvalid(v) printf "<li value=\"%s\" style=\"list-style-type: %s\">", listnum(v), listtype(v) } |