aboutsummaryrefslogtreecommitdiff
path: root/emparse
diff options
context:
space:
mode:
Diffstat (limited to 'emparse')
-rwxr-xr-xemparse4
1 files changed, 2 insertions, 2 deletions
diff --git a/emparse b/emparse
index ed3a4c7..9594f82 100755
--- a/emparse
+++ b/emparse
@@ -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)
}