Skip to content

Commit

Permalink
Add '$' to slice of escapeChars
Browse files Browse the repository at this point in the history
  • Loading branch information
dawidl022 authored and kjk committed Dec 22, 2023
1 parent a660076 commit 282af34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/inline.go
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,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:]
Expand Down

0 comments on commit 282af34

Please sign in to comment.