Skip to content

fix: blockquoteパーサーをWikidot互換に修正 #6

fix: blockquoteパーサーをWikidot互換に修正

fix: blockquoteパーサーをWikidot互換に修正 #6

Triggered via push January 31, 2026 07:49
Status Failure
Total duration 17s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
error: expect(received).toBe(expected): tests/integration/fixture-render.test.ts#L141
C10 in Unsolved Problems in Number Theory, 2nd ed. New York: Springer-Verlag, pp. 118-121, 1994.</div></div>" C10 in Unsolved Problems in Number Theory, 2nd ed. New York: Springer-Verlag, pp. 118-121, 1994.[[/bibliography]]</dd></dl>" at <anonymous> (/home/runner/work/wdpr/wdpr/tests/integration/fixture-render.test.ts:141:41)
error: expect(received).toBe(expected): tests/integration/fixture-render.test.ts#L141
Expected: "`~!@#$%^&*()-=+[]{}|/<br />" Received: "<p>`~!@#$%^&*()-=+[]{}|/<br /></p>" at <anonymous> (/home/runner/work/wdpr/wdpr/tests/integration/fixture-render.test.ts:141:41)
error: expect(received).toBe(expected): tests/integration/fixture-render.test.ts#L141
Expected: "<p><iframe allowtransparency="true" class="html-block-iframe" frameborder="0" src="/some-page/html/8242976e26396aa0563d1110bae303e6ef52c525-4901174351854397080"></iframe></p><p>[[html]]Forgot to close</p>" Received: "<p><iframe allowtransparency="true" class="html-block-iframe" frameborder="0" src="/html/84851344e342cc0331328deeeb910505ea51fe70-28600000000"></iframe></p><p>[[html]]Forgot to close</p>" at <anonymous> (/home/runner/work/wdpr/wdpr/tests/integration/fixture-render.test.ts:141:41)
error: expect(received).toBe(expected): tests/integration/fixture-render.test.ts#L141
Expected: "<p>BASIC</p><p><iframe allowtransparency="true" class="html-block-iframe" frameborder="0" src="/some-page/html/83d6a66e69f85cc8f535aef9fd56e7c341cd1035-1268943541115962680" style="height: 24px;"></iframe></p><p>INLINE</p><p><iframe allowtransparency="true" class="html-block-iframe" frameborder="0" src="/some-page/html/1dad4653822195d562764f879393527d85fe41c5-419839912099941951" style="height: 131px;"></iframe></p><p>EMPTY</p><p><iframe allowtransparency="true" class="html-block-iframe" frameborder="0" src="/some-page/html/adc83b19e793491b1c6ea0fd8b46cd9f32e592fc-2070859076937908568"></iframe></p><p>ESCAPE</p><p><iframe allowtransparency="true" class="html-block-iframe" frameborder="0" src="/some-page/html/1e8efad9c4a4f45f6557cbe2da84af4909f8d8b0-15422489421165044697" style="height: 24px;"></iframe></p><p>MISSING TAG</p><p><iframe allowtransparency="true" class="html-block-iframe" frameborder="0" src="/some-page/html/be17fd9c4c30b6375c7eadc6f854e02ca0aabfc4-25538385178887274" style="width: 100%; height: 398px;"></iframe></p>" Received: "<p>BASIC</p><iframe allowtransparency="true" class="html-block-iframe" frameborder="0" src="/html/a75d54fbcfe90f9a60e960bdacb839640fe070df-55700000000"></iframe><p>INLINE</p><iframe allowtransparency="true" class="html-block-iframe" frameborder="0" src="/html/b07d01e7995b7cd2225c977d83f3344837c15013-81800000000"></iframe><p>EMPTY</p><iframe allowtransparency="true" class="html-block-iframe" frameborder="0" src="/html/811c9dc5811c9dc4811c9dc7811c9dc6811c9dc1-5600000000"></iframe><p>ESCAPE</p><iframe allowtransparency="true" class="html-block-iframe" frameborder="0" src="/html/332c66b829718611dee82102fd4eaae318e43c8c-59100000000"></iframe><p>MISSING TAG</p><iframe allowtransparency="true" class="html-block-iframe" frameborder="0" src="/html/4a521996550cb78d803d8b18036a74afd8935b22-196200000000"></iframe>" at <anonymous> (/home/runner/work/wdpr/wdpr/tests/integration/fixture-render.test.ts:141:41)
error: expect(received).toBe(expected): tests/integration/fixture-render.test.ts#L141
Expected: "<p>Strawberry <span class="math-inline">$e^x - \\pi$</span></p><p>Apple <span class="math-inline">$a^2$</span> Banana <span class="math-inline">$b^3$</span> Cherry <span class="math-inline">$c^4$</span> Pineapple</p><p><strong>FAIL</strong></p><p>NEWLINES<br />[[$ E =</p><p>mc^2 $]]</p><p>SYNTAX<br /><span class="math-inline">$2^{\\pi - 1$</span></p>" Received: "<p>Strawberry <span class="math-inline">$e^x - \\pi$</span></p><p>Apple <span class="math-inline">$a^2$</span> Banana <span class="math-inline">$b^3$</span> Cherry <span class="math-inline">$c^4$</span> Pineapple</p><p><strong>FAIL</strong></p><p>NEWLINES</p><p>[[$ E =</p><p>mc^2 $]]</p><p>SYNTAX</p><p><span class="math-inline">$2^{\\pi - 1$</span></p>" at <anonymous> (/home/runner/work/wdpr/wdpr/tests/integration/fixture-render.test.ts:141:41)
error: expect(received).toBe(expected): tests/integration/fixture-render.test.ts#L141
Expected: "<p><strong>FAIL</strong></p><p>NEWLINES<br />[[$ E =</p><p>mc^2 $]]</p><p>SYNTAX<br /><span class="math-inline">$2^{\\pi - 1$</span></p>" Received: "<p><strong>FAIL</strong></p><p>NEWLINES</p><p>[[$ E =</p><p>mc^2 $]]</p><p>SYNTAX</p><p><span class="math-inline">$2^{\\pi - 1$</span></p>" at <anonymous> (/home/runner/work/wdpr/wdpr/tests/integration/fixture-render.test.ts:141:41)
error: expect(received).toBe(expected): tests/integration/fixture-render.test.ts#L141
Expected: "<span class="equation-number">(1)</span><div class="math-equation" id="equation-1">\begin{align} A = \pi \cdot r^2 [[/math]] [[math]] C = 2\pi r \end{align}</div><p>Apple<a class="eref" href="javascript:;"></a></p><p>Banana cherry[[equation quadratic-formula]] Gooseberry</p><p>Pineapple<a class="eref" href="javascript:;"></a>Blueberry</p>" Received: "<div class="math-equation" id="equation-1">A = \pi \cdot r^2</div><div class="math-equation" id="equation-2">C = 2\pi r</div><p>Apple<a class="equation-ref" href="#equation-quadratic-formula">quadratic-formula</a></p><p>Banana cherry[[equation quadratic-formula]] Gooseberry</p><p>Pineapple<a class="equation-ref" href="#equation-navier-stokes">navier-stokes</a>Blueberry</p>" at <anonymous> (/home/runner/work/wdpr/wdpr/tests/integration/fixture-render.test.ts:141:41)
error: expect(received).toBe(expected): tests/integration/fixture-render.test.ts#L141
Expected: "<p><strong>FAIL</strong></p><p>EMPTY</p><span class="equation-number">(1)</span><div class="math-equation" id="equation-1">\begin{equation} \end{equation}</div>" Received: "<p><strong>FAIL</strong></p><p>EMPTY</p><p>[[math]]</p><p>[[/math]]</p>" at <anonymous> (/home/runner/work/wdpr/wdpr/tests/integration/fixture-render.test.ts:141:41)
error: expect(received).toBe(expected): tests/integration/fixture-render.test.ts#L141
Expected: "<div><h3>_default</h3><a href="javascript:;" id="category-pages-toggler-42041109">+ list pages</a><... (20442 bytes truncated) ...="display: none"></div><div id="category-pages-42423865-options" style="display: none"></div></div>" Received: "<div class="categories-module-box"></div><div class="categories-module-box"></div><div class="categories-module-box"></div><div class="categories-module-box"></div>" at <anonymous> (/home/runner/work/wdpr/wdpr/tests/integration/fixture-render.test.ts:141:41)
error: expect(received).toBe(expected): tests/integration/fixture-render.test.ts#L141
Expected: "ALPHA<br /><dl><dt>Key</dt><dd>Value</dd><dt><strong>Apple</strong></dt><dd><em>Banana</em> split</dd></dl> BETA<br /><dl><dt>Pineapple</dt><dd>Very very long<br />with a newline break<br />or two in the middle</dd></dl>" Received: "<p>ALPHA</p><dl><dt>Key</dt><dd>Value</dd><dt><strong>Apple</strong></dt><dd><em>Banana</em> split</dd></dl><p>BETA</p><dl><dt>Pineapple</dt><dd>Very very long<br />with a newline break<br />or two in the middle</dd></dl>" at <anonymous> (/home/runner/work/wdpr/wdpr/tests/integration/fixture-render.test.ts:141:41)