4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-05 18:24:03 +00:00

Disable smartypants in markdown parser. Fixes #989, #983 (#993)

This commit is contained in:
Wim
2020-02-02 18:35:43 +01:00
committed by GitHub
parent 7486555875
commit 585d1556c1
6 changed files with 11 additions and 7 deletions

View File

@ -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:]