Skip to content

Commit c9a2709

Browse files
committed
fix(tests): fix tests on zotero 8
1 parent eb43755 commit c9a2709

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

test/tests/template.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ This is a inline math<span class="math"><span class="katex"><span class="katex-m
238238
<h2>Highlight Text</h2>
239239
<p>Highlight <span style="background-color: rgb(255, 102, 102);">text</span> is here</p>
240240
<h2>Colored Text</h2>
241-
<p>Colored <span style="color: rgb(255, 32, 32)">text</span> is here</p>
241+
<p>Colored <span style="color: rgb(255, 32, 32);">text</span> is here</p>
242242
<h2>Task Lists</h2>
243243
<ul>
244244
<li>
@@ -249,7 +249,7 @@ Incomplete item
249249
</li>
250250
</ul>
251251
<h2>Strikethrough</h2>
252-
<p><span style="text-decoration: line-through">This text is strikethrough.</span></p>
252+
<p><span style="text-decoration: line-through;">This text is strikethrough.</span></p>
253253
<h2>Recursive Elements</h2>
254254
<h3>Recursive Links and Emphasis</h3>
255255
<p><strong><a href="https://example.com" rel="noopener noreferrer nofollow">Bold link</a></strong></p>

test/utils/note.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ This is a inline math<span class="math">$123$</span> with space in list item tes
186186
<h2>HTML in Markdown</h2>
187187
<p>This is a HTML block inside Markdown.</p>
188188
<h2>Highlight Text</h2>
189-
<p>Highlight <span style="background-color: rgba(255, 102, 102, 0.5)">text</span> is here</p>
189+
<p>Highlight <span style="background-color: rgba(255, 102, 102, 0.5);">text</span> is here</p>
190190
<h2>Colored Text</h2>
191-
<p>Colored <span style="color: rgb(255, 32, 32)">text</span> is here</p>
191+
<p>Colored <span style="color: rgb(255, 32, 32);">text</span> is here</p>
192192
<h2>Task Lists</h2>
193193
<ul>
194194
<li>
@@ -199,7 +199,7 @@ Incomplete item
199199
</li>
200200
</ul>
201201
<h2>Strikethrough</h2>
202-
<p><span style="text-decoration: line-through">This text is strikethrough.</span></p>
202+
<p><span style="text-decoration: line-through;">This text is strikethrough.</span></p>
203203
<h2>Recursive Elements</h2>
204204
<h3>Recursive Links and Emphasis</h3>
205205
<p><strong><a href="https://example.com" rel="noopener noreferrer nofollow">Bold link</a></strong></p>
@@ -391,11 +391,11 @@ This is a HTML block inside Markdown.
391391
392392
## Highlight Text
393393
394-
Highlight <span style="background-color: rgba(255, 102, 102, 0.5)">text</span> is here
394+
Highlight <span style="background-color: rgba(255, 102, 102, 0.5);">text</span> is here
395395
396396
## Colored Text
397397
398-
Colored <span style="color: rgb(255, 32, 32)">text</span> is here
398+
Colored <span style="color: rgb(255, 32, 32);">text</span> is here
399399
400400
## Task Lists
401401

0 commit comments

Comments
 (0)