mirror of
https://github.com/lexmount/moli.git
synced 2026-09-29 08:01:36 +00:00
53 lines
5.9 KiB
JSON
53 lines
5.9 KiB
JSON
[
|
|
{"id":"extra_empty_href","name":"empty href keeps link text","html":"before<a href=''>label</a>after"},
|
|
{"id":"extra_empty_link","name":"empty link label","html":"before<a href='/target'></a>after"},
|
|
{"id":"extra_blank_link","name":"whitespace-only link label","html":"before<a href='/target'> </a>after"},
|
|
{"id":"extra_missing_image_src","name":"image alt without source","html":"before<img alt='missing'>after"},
|
|
{"id":"extra_img_alt_whitespace","name":"image alt with multiple lines and indentation","html":"<img src='/x' alt='one\n \n two'>"},
|
|
{"id":"extra_img_alt_code","name":"image label containing code delimiters","html":"<img src='/x' alt='a`b'>"},
|
|
{"id":"extra_adjacent_lists","name":"adjacent unordered lists stay separate","html":"<ul><li>one</li></ul><ul><li>two</li></ul>"},
|
|
{"id":"extra_adjacent_ordered_lists","name":"adjacent ordered lists stay separate","html":"<ol><li>one</li></ol><ol start='4'><li>four</li></ol>"},
|
|
{"id":"extra_empty_list","name":"empty list","html":"before<ul></ul>after"},
|
|
{"id":"extra_empty_list_item","name":"empty list item","html":"<ul><li></li><li>text</li></ul>"},
|
|
{"id":"extra_loose_list","name":"paragraph list items stay loose","html":"<ul><li><p>one</p></li><li><p>two</p></li></ul>"},
|
|
{"id":"extra_mixed_loose_list","name":"paragraph followed by a plain list item","html":"<ul><li><p>one</p></li><li>two</li></ul>"},
|
|
{"id":"extra_list_nested_only","name":"list item containing only a nested list","html":"<ul><li><ul><li>inner</li></ul></li></ul>"},
|
|
{"id":"extra_list_nested_tail","name":"text after a nested list","html":"<ul><li>start<ul><li>inner</li></ul>end</li></ul>"},
|
|
{"id":"extra_list_nested_tail_p","name":"paragraph after a nested list","html":"<ul><li><p>start</p><ul><li>inner</li></ul><p>end</p></li></ul>"},
|
|
{"id":"extra_list_code","name":"fenced code inside list item","html":"<ol start='9'><li><pre><code> first\nsecond\n</code></pre></li><li>end</li></ol>"},
|
|
{"id":"extra_list_quote","name":"list item containing only a quote","html":"<ul><li><blockquote><p>quote</p></blockquote></li></ul>"},
|
|
{"id":"extra_empty_quote","name":"empty quote still separates blocks","html":"before<blockquote></blockquote>after"},
|
|
{"id":"extra_quote_blank_lines","name":"quote with paragraphs and hard breaks","html":"<blockquote><p>one<br>two</p><p>three</p></blockquote>"},
|
|
{"id":"extra_empty_heading","name":"empty heading boundary","html":"before<h2></h2>after"},
|
|
{"id":"extra_empty_pre","name":"empty pre","html":"before<pre></pre>after"},
|
|
{"id":"extra_empty_pre_code","name":"empty pre code","html":"before<pre><code></code></pre>after"},
|
|
{"id":"extra_blank_pre_code","name":"whitespace-only pre code","html":"<pre><code> \n</code></pre>"},
|
|
{"id":"extra_adjacent_code","name":"adjacent code spans","html":"<code>a</code><code>b</code>"},
|
|
{"id":"extra_code_gap","name":"separated code spans","html":"<code>a</code> <code>b</code>"},
|
|
{"id":"extra_code_nested_format","name":"markup inside inline code","html":"<code><strong>a</strong><em>b</em></code>"},
|
|
{"id":"extra_code_many_runs","name":"code span chooses an unused delimiter length","html":"<code>a```b`````c</code>"},
|
|
{"id":"extra_code_only_ticks","name":"code containing only backticks","html":"<code>```</code>"},
|
|
{"id":"extra_code_nbsp","name":"code with nonbreaking boundary spaces","html":"before<code> a </code>after"},
|
|
{"id":"extra_preformatted_internal","name":"preformatted inline code preserves multiple spaces","html":"<code> a b </code>","original_options":{"preformattedCode":true}},
|
|
{"id":"extra_preformatted_blank","name":"preformatted whitespace-only code","html":"before<code> </code>after","original_options":{"preformattedCode":true}},
|
|
{"id":"extra_literal_entities","name":"decoded entity text remains literal","html":"<p>&copy; &lt; &#32;</p>"},
|
|
{"id":"extra_literal_html","name":"literal HTML tags remain visible text","html":"<p><b>literal</b></p>"},
|
|
{"id":"extra_split_list_marker","name":"ordered marker split across elements","html":"<p>12<span>.</span> text</p>"},
|
|
{"id":"extra_split_emphasis_literal","name":"asterisks split across elements","html":"<p>*<span>word</span>*</p>"},
|
|
{"id":"extra_link_backslash","name":"link destination with backslashes","html":"<a href='a\\b'>link</a>"},
|
|
{"id":"extra_link_entities","name":"link destination with literal entity syntax","html":"<a href='/?q=&copy;'>link</a>"},
|
|
{"id":"extra_link_leading_space","name":"leading whitespace inside link label","html":"before<a href='/'> label</a>after"},
|
|
{"id":"extra_nested_link_emphasis","name":"emphasis nested in link","html":"<a href='/'><strong><em>text</em></strong></a>"},
|
|
{"id":"extra_emphasis_nested_link","name":"link nested in emphasis","html":"<em><a href='/'>text</a></em>"},
|
|
{"id":"extra_emphasis_intraword_link","name":"link in intraword emphasis","html":"before<em><a href='/'>text</a></em>after"},
|
|
{"id":"extra_emphasis_intraword_punctuation","name":"intraword emphasis around punctuation","html":"before<em>(text)</em>after"},
|
|
{"id":"extra_empty_emphasis","name":"empty formatting preserves surrounding spaces","html":"a<strong> </strong>b<em> </em>c"},
|
|
{"id":"extra_nbsp_comment","name":"nonbreaking whitespace around ignored comment","html":"a <!--x--> b"},
|
|
{"id":"extra_leading_br","name":"leading hard break","html":"<p><br>text</p>"},
|
|
{"id":"extra_consecutive_br","name":"consecutive hard breaks","html":"<p>one<br><br>two</p>"},
|
|
{"id":"extra_blank_br_container","name":"otherwise empty span containing hard break","html":"a<span><br></span>b"},
|
|
{"id":"extra_empty_block_inside_inline","name":"empty block inside emphasis","html":"<strong>a<div></div>b</strong>"},
|
|
{"id":"extra_audio_boundary","name":"audio fallback content is a block","html":"before<audio>fallback</audio>after"},
|
|
{"id":"extra_output_boundary","name":"output element block boundary","html":"before<output>result</output>after"}
|
|
]
|