mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-03 12:42:02 +00:00
Upgraded ReverseMarkdown to v6.3.1 (#1244)
This commit is contained in:
1 parent
dbe609a9a7
commit
ddfc632b63
6 files changed
+14
-99
No files matched your search
@@ -16,8 +16,10 @@ public sealed class HTMLParserConversionTests
|
||||
/// A teaser wrapped in a link keeps the words of its blocks apart, while the text of pre stays as it is.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Without the compatibility shim in HTMLParser, the first item reads "Probe lands on the asteroid22 minutes
|
||||
/// agoExample News", see documentation/compatibility-shims/2026-11-reversemarkdown-blocks-in-inline-elements.md.
|
||||
/// ReverseMarkdown separates such blocks itself since version 6.3.1, see
|
||||
/// https://github.com/mysticmind/reversemarkdown-net/issues/440. Up to version 6.3.0, the first item read "Probe
|
||||
/// lands on the asteroid22 minutes agoExample News". Since version 6.3.1 as well, it drops the empty link which
|
||||
/// the HTML parser leaves behind when the pre closes the paragraph.
|
||||
/// </remarks>
|
||||
[Test]
|
||||
public void BlocksInsideALinkKeepTheirWordsApart()
|
||||
@@ -39,7 +41,7 @@ public sealed class HTMLParserConversionTests
|
||||
- [Second headline A summary of it.](https://example.org/news/2)
|
||||
- [Plain link text](https://example.org/news/3)
|
||||
|
||||
Code in a link: [](https://example.org/code)
|
||||
Code in a link:
|
||||
|
||||
```
|
||||
line one
|
||||
|
||||
Reference in new issue
Block a user