-
Notifications
You must be signed in to change notification settings - Fork 30k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix broken codeblocks Fix #213382 * Fix tests
- Loading branch information
1 parent
1e1afd0
commit b9fa819
Showing
7 changed files
with
14 additions
and
12 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
2 changes: 1 addition & 1 deletion
2
...rkbench/contrib/chat/test/browser/__snapshots__/ChatMarkdownRenderer_html_comments.0.snap
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 +1 @@ | ||
<div class="rendered-markdown"><!-- comment1 <div></div> --><div>content</div><!-- comment2 --></div> | ||
<div class="rendered-markdown"><!-- comment1 <div></div> --><div>content</div><!-- comment2 --></div> |
2 changes: 1 addition & 1 deletion
2
...orkbench/contrib/chat/test/browser/__snapshots__/ChatMarkdownRenderer_invalid_HTML.0.snap
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 +1 @@ | ||
<div class="rendered-markdown">1<canvas>2<div>3</div></canvas>4</div> | ||
<div class="rendered-markdown">1<canvas>2<details>3</details></canvas>4</div> |
2 changes: 1 addition & 1 deletion
2
.../chat/test/browser/__snapshots__/ChatMarkdownRenderer_invalid_HTML_with_attributes.0.snap
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 +1 @@ | ||
<div class="rendered-markdown">1<div id="id1" style="display: none">2<div id="my id 2">3</div></div>4</div> | ||
<div class="rendered-markdown">1<details id="id1" style="display: none">2<details id="my id 2">3</details></details>4</div> |
6 changes: 3 additions & 3 deletions
6
.../chat/test/browser/__snapshots__/ChatMarkdownRenderer_mixed_valid_and_invalid_HTML.0.snap
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,8 +1,8 @@ | ||
<div class="rendered-markdown"><h1>heading</h1> | ||
<div> | ||
<details> | ||
<ul> | ||
<li><span><div><i>1</i></div></span></li> | ||
<li><span><details><i>1</i></details></span></li> | ||
<li><b>hi</b></li> | ||
</ul> | ||
</div> | ||
</details> | ||
<pre><canvas>canvas here</canvas></pre><details></details></div> |
2 changes: 1 addition & 1 deletion
2
...rkbench/contrib/chat/test/browser/__snapshots__/ChatMarkdownRenderer_remote_images.0.snap
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 +1 @@ | ||
<div class="rendered-markdown"><img src="http://allowed.com/image.jpg"> <div><img src="http://disallowed.com/image.jpg"></div></div> | ||
<div class="rendered-markdown"><img src="http://allowed.com/image.jpg"> <div><img src="http://disallowed.com/image.jpg"></div></div> |
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