summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick White <git@njw.name>2014-04-18 11:04:06 -0400
committerNick White <git@njw.name>2014-04-18 11:04:06 -0400
commit25a4e35d7ec935b8e9e8e94b41c32c43ba6a5df9 (patch)
tree3bf7bed5a97a5b803b34fcfde3664026953ec777
parent00e0b832d8225d818c33d1731274503da9e8e009 (diff)
downloadtkread-25a4e35d7ec935b8e9e8e94b41c32c43ba6a5df9.tar.bz2
tkread-25a4e35d7ec935b8e9e8e94b41c32c43ba6a5df9.zip
Process escaped asterisk
-rwxr-xr-xtkread2
1 files changed, 2 insertions, 0 deletions
diff --git a/tkread b/tkread
index d415274..03dafd3 100755
--- a/tkread
+++ b/tkread
@@ -66,10 +66,12 @@ set listitems { \
{\+ *} \
}
+# Using low asterisk so it isn't interpreted as markdown later
set replacements { \
{{^\* \* \* \* \*$} "―"} \
{{\\$} ""} \
{{\\\$} "$"} \
+ {{\\\*} "⁎"} \
}
if { $::argc > 0 && [lindex $::argv 0] == "-h" } {