-
Notifications
You must be signed in to change notification settings - Fork 984
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix shortcode/continue-reading parsing with inline HTML (smaller vers…
…ion) (#2606) * Fix shortcode/continue-reading parsing with inline HTML (smaller version) * Remove inline <!-- more -->
- Loading branch information
1 parent
286b88e
commit 59d7074
Showing
8 changed files
with
105 additions
and
31 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
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
5 changes: 5 additions & 0 deletions
5
components/markdown/tests/snapshots/shortcodes__can_render_with_inline_html.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
source: components/markdown/tests/shortcodes.rs | ||
expression: body | ||
--- | ||
<p>Here is <span>1</span> example.</p> |
5 changes: 5 additions & 0 deletions
5
components/markdown/tests/snapshots/summary__footnotes_summary.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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
source: components/markdown/tests/summary.rs | ||
expression: body | ||
--- | ||
<p>Hello world.</p> |
10 changes: 10 additions & 0 deletions
10
components/markdown/tests/snapshots/summary__no_truncated_summary.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
source: components/markdown/tests/summary.rs | ||
expression: rendered.body | ||
--- | ||
<p>Things to do:</p> | ||
<ul> | ||
<li>Program <!-- more --> something</li> | ||
<li>Eat</li> | ||
<li>Sleep</li> | ||
</ul> |
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