parent
55e5149f61
commit
535ad76f61
|
|
@ -278,7 +278,7 @@ func link(p *Markdown, data []byte, offset int) (int, *Node) {
|
|||
case data[i] == '\n':
|
||||
textHasNl = true
|
||||
|
||||
case data[i-1] == '\\':
|
||||
case isBackslashEscaped(data, i):
|
||||
continue
|
||||
|
||||
case data[i] == '[':
|
||||
|
|
|
|||
|
|
@ -8,4 +8,6 @@
|
|||
|
||||
<p><a href="/url/" title="title has spaces afterward">URL and title</a>.</p>
|
||||
|
||||
<p><a href="/url/">URL with backslash\</a>.</p>
|
||||
|
||||
<p>[Empty]().</p>
|
||||
|
|
|
|||
|
|
@ -8,5 +8,6 @@ Just a [URL](/url/).
|
|||
|
||||
[URL and title](/url/ "title has spaces afterward" ).
|
||||
|
||||
[URL with backslash\\](/url/).
|
||||
|
||||
[Empty]().
|
||||
|
|
|
|||
Loading…
Reference in New Issue