Skip to content

Commit

Permalink
Update test for semanticate
Browse files Browse the repository at this point in the history
  • Loading branch information
erinendrei authored and acabal committed Nov 28, 2023
1 parent 9bc2300 commit d5cff54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/data/semanticate/in/semanticate.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
<p>“He said, ‘His name was abbreviated <abbr epub:type="z3998:given-name">Chas.</abbr></p>
<p>They were friends of the <abbr epub:type="z3998:initialism">A.B.C.</abbr></p>
<!-- should be left alone -->
<p><abbr>Mr.</abbr> Smith was extremely concerned, <abbr class="eoc">etc.</abbr></p>
<p><abbr epub:type="z3998:name-title">Mr.</abbr> Smith was extremely concerned, <abbr class="eoc">etc.</abbr></p>
<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
<!-- tag non-qualifying, should be left alone -->
<p>He died lamented, <abbr epub:type="se:era">A.D.</abbr> 1701.</p>
Expand Down
6 changes: 3 additions & 3 deletions tests/data/semanticate/out/semanticate.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<section id="chapter-1" epub:type="chapter">
<h2 epub:type="title">A Dreary Story</h2>
<!-- should get tag(s) -->
<p><abbr>Mr.</abbr> Smith was somewhat, <abbr>etc.</abbr>, concerned.</p>
<p><abbr epub:type="z3998:name-title">Mr.</abbr> Smith was somewhat, <abbr>etc.</abbr>, concerned.</p>
<p>What to do, <abbr epub:type="z3998:initialism">i.e.</abbr> what to do.</p>
<p>What to do, <abbr epub:type="z3998:initialism">e.g.</abbr> what to do.</p>
<p>The picture was almost <abbr epub:type="z3998:initialism">3D</abbr>.</p>
Expand Down Expand Up @@ -70,7 +70,7 @@
<p>What to do, <abbr class="eoc" epub:type="z3998:initialism">e.g.</abbr></p>
<p>I spoke with John Smith, <abbr class="eoc" epub:type="z3998:name-title">Ph. D.</abbr></p>
<p>“I spoke with John Smith, <abbr class="eoc" epub:type="z3998:name-title">Ph. D.</abbr></p>
<p><abbr>Mr.</abbr> Smith was extremely concerned, <abbr class="eoc">etc.</abbr></p>
<p><abbr epub:type="z3998:name-title">Mr.</abbr> Smith was extremely concerned, <abbr class="eoc">etc.</abbr></p>
<p>“John was concerned, <abbr class="eoc">etc.</abbr></p>
<p>“John said, ‘I was concerned, <abbr class="eoc">etc.</abbr></p>
<p>“I was concerned, <abbr class="eoc">etc.</abbr>” So I proceeded as planned.</p>
Expand Down Expand Up @@ -136,7 +136,7 @@
<p>“He said, ‘His name was abbreviated <abbr class="eoc" epub:type="z3998:given-name">Chas.</abbr></p>
<p>They were friends of the <abbr class="eoc" epub:type="z3998:initialism">A.B.C.</abbr></p>
<!-- should be left alone -->
<p><abbr>Mr.</abbr> Smith was extremely concerned, <abbr class="eoc">etc.</abbr></p>
<p><abbr epub:type="z3998:name-title">Mr.</abbr> Smith was extremely concerned, <abbr class="eoc">etc.</abbr></p>
<p>She woke up around 3 <abbr class="eoc">a.m.</abbr></p>
<!-- tag non-qualifying, should be left alone -->
<p>He died lamented, <abbr epub:type="se:era">A.D.</abbr> 1701.</p>
Expand Down

0 comments on commit d5cff54

Please sign in to comment.