Skip to content

Commit

Permalink
Added an example illustrating basic escaping of ( inside link dest.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Jan 11, 2016
1 parent 2413d43 commit e34efc6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion spec.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7120,6 +7120,13 @@ bar>)
bar>)</p>
````````````````````````````````

Parentheses inside the link destination may be escaped:

```````````````````````````````` example
[link](\(foo\))
.
<p><a href="(foo)">link</a></p>
````````````````````````````````

One level of balanced parentheses is allowed without escaping:

Expand All @@ -7129,7 +7136,6 @@ One level of balanced parentheses is allowed without escaping:
<p><a href="(foo)and(bar)">link</a></p>
````````````````````````````````


However, if you have parentheses within parentheses, you need to escape
or use the `<...>` form:

Expand Down

0 comments on commit e34efc6

Please sign in to comment.