summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/gomarkdown/markdown/parser
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-02-02 18:35:43 +0100
committerGitHub <noreply@github.com>2020-02-02 18:35:43 +0100
commit585d1556c18abc8b259819847d05b2b088bee806 (patch)
tree73d6d1cfc888e07149ea71da0e30e378081c680f /vendor/github.com/gomarkdown/markdown/parser
parent748655587527875ea360822255a60a892b8c4953 (diff)
downloadmatterbridge-msglm-585d1556c18abc8b259819847d05b2b088bee806.tar.gz
matterbridge-msglm-585d1556c18abc8b259819847d05b2b088bee806.tar.bz2
matterbridge-msglm-585d1556c18abc8b259819847d05b2b088bee806.zip
Disable smartypants in markdown parser. Fixes #989, #983 (#993)
Diffstat (limited to 'vendor/github.com/gomarkdown/markdown/parser')
-rw-r--r--vendor/github.com/gomarkdown/markdown/parser/inline.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/gomarkdown/markdown/parser/inline.go b/vendor/github.com/gomarkdown/markdown/parser/inline.go
index 23849f3a..2a8ac77c 100644
--- a/vendor/github.com/gomarkdown/markdown/parser/inline.go
+++ b/vendor/github.com/gomarkdown/markdown/parser/inline.go
@@ -689,7 +689,7 @@ func leftAngle(p *Parser, data []byte, offset int) (int, ast.Node) {
}
// '\\' backslash escape
-var escapeChars = []byte("\\`*_{}[]()#+-.!:|&<>~")
+var escapeChars = []byte("\\`*_{}[]()#+-.!:|&<>~^")
func escape(p *Parser, data []byte, offset int) (int, ast.Node) {
data = data[offset:]