From 585d1556c18abc8b259819847d05b2b088bee806 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 2 Feb 2020 18:35:43 +0100 Subject: Disable smartypants in markdown parser. Fixes #989, #983 (#993) --- vendor/github.com/gomarkdown/markdown/parser/inline.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/github.com/gomarkdown/markdown/parser') 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:] -- cgit v1.2.3