-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
03131f3
commit c20436c
Showing
5 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
testdata/TestRealWorld/snippets/square_brackets/goldmark.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
<p>first [literal] brackets</p> | ||
<p>then [one] way to escape</p> | ||
<p>then [another] one</p> | ||
<p>jmap –histo[:live]</p> | ||
<p>[this should be escaped](http://test)</p> | ||
<p>before: [this should be escaped](http://test) after</p> | ||
<p>image ![alt](/img.png)</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
<p>first [literal] brackets</p> | ||
<p>then [one] way to escape</p> | ||
<p>then [another] one</p> | ||
|
||
<p>jmap –histo[:live]</p> | ||
|
||
<p>[this should be escaped](http://test)</p> | ||
<p>before: [this should be escaped](http://test) after</p> | ||
<p>image ![alt](/img.png)</p> |
14 changes: 11 additions & 3 deletions
14
testdata/TestRealWorld/snippets/square_brackets/output.default.golden
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,13 @@ | ||
first [literal] brackets | ||
first \[literal\] brackets | ||
|
||
then [one] way to escape | ||
then \[one\] way to escape | ||
|
||
then [another] one | ||
then \[another\] one | ||
|
||
jmap –histo\[:live\] | ||
|
||
\[this should be escaped\](http://test) | ||
|
||
before: \[this should be escaped\](http://test) after | ||
|
||
image !\[alt\](/img.png) |