aboutsummaryrefslogtreecommitdiff
path: root/html_backend.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2020-12-26 17:23:03 +0700
committerShulhan <ms@kilabit.info>2020-12-26 17:23:03 +0700
commitff8a9955a153deebe7c55b8f748b429ea157ee73 (patch)
tree56b23d8f9f199fb40679724d2f16475d3bb9f645 /html_backend.go
parente39ff0f9ee29f290fcd5eedb94309db71fa78d25 (diff)
downloadasciidoctor-go-ff8a9955a153deebe7c55b8f748b429ea157ee73.tar.xz
all: replace space surrounding the em-dash with html symbol thin space
If the em-dash strings "--" flanked by space, replace the space with HTML symbol thin space.
Diffstat (limited to 'html_backend.go')
-rw-r--r--html_backend.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/html_backend.go b/html_backend.go
index 2f7139c..89d3a86 100644
--- a/html_backend.go
+++ b/html_backend.go
@@ -55,6 +55,7 @@ const (
htmlSymbolSingleLeftArrow = "&#8592;"
htmlSymbolSingleQuote = "&#39;"
htmlSymbolSingleRightArrow = "&#8594;"
+ htmlSymbolThinSpace = "&#8201;"
htmlSymbolTrademark = "&#8482;"
htmlSymbolWordJoiner = "&#8288;"
htmlSymbolZeroWidthSpace = "&#8203;"