31b99930d9
Restore the replaced pipeline's synthetic fence newline so a real trailing blank line inside a fence survives CodeBlock's display trim, and pin it plus header-only tables in the DOM-parity corpus. Route extractMarkdownPlainText through parseGfm so the grammar has one source. Document the fixture provenance check (all 46 fixtures reproduce byte-identically from react-markdown at 9e8101b800), the deliberate O(prefix) divergence memcmp, the per-arm scope of grammar consistency, the React 18 MathML namespace limitation, and the prefix-equivalence corpus constraint.
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
<div class="_markdown_404681">
|
|
<div class="_block_9aea57 md-code-block">
|
|
<div class="_bannerWrap_9aea57">
|
|
<div class="_banner_9aea57">
|
|
<div class="_infostring_9aea57">
|
|
<div class="_action_9aea57">
|
|
<button class="_copyButton_9aea57" type="button">
|
|
#text "复制"
|
|
<pre class="_plain_9aea57">
|
|
<code>
|
|
#text "kept blank line follows\n"
|
|
<div class="_block_9aea57 md-code-block">
|
|
<div class="_bannerWrap_9aea57">
|
|
<div class="_banner_9aea57">
|
|
<div class="_infostring_9aea57">
|
|
#text "ts"
|
|
<div class="_action_9aea57">
|
|
<button class="_copyButton_9aea57" type="button">
|
|
#text "复制"
|
|
<div>
|
|
<pre class="shiki css-variables" style="background-color:var(--shiki-background);color:var(--shiki-foreground)" tabindex="0">
|
|
<code>
|
|
<span class="line">
|
|
<span style="color:var(--shiki-token-keyword)">
|
|
#text "const"
|
|
<span style="color:var(--shiki-token-constant)">
|
|
#text " doubled"
|
|
<span style="color:var(--shiki-token-keyword)">
|
|
#text " ="
|
|
<span style="color:var(--shiki-token-constant)">
|
|
#text " true"
|
|
#text "\n"
|
|
<span class="line">
|
|
#text "\n"
|
|
<span class="line">
|
|
<p>
|
|
#text "after"
|