Skip to content

Commit

Permalink
Add test for t-060
Browse files Browse the repository at this point in the history
  • Loading branch information
erinendrei committed Sep 13, 2024
1 parent 460bb1a commit 9e7a03d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/lint/typography/t-060/golden/t-060-out.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
t-060 [Manual Review] chapter-1.xhtml Old style Bible citation.
<cite>Genesis, <span epub:type="z3998:roman">i</span>, 3</cite>
<cite>Genesis <span epub:type="z3998:roman">i</span>, 3</cite>
24 changes: 24 additions & 0 deletions tests/lint/typography/t-060/in/src/epub/text/chapter-1.xhtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" epub:prefix="z3998: http://www.daisy.org/z3998/2012/vocab/structure/, se: https://standardebooks.org/vocab/1.0" xml:lang="en-GB">
<head>
<title>I</title>
</head>
<body epub:type="bodymatter z3998:fiction">
<section id="chapter-1" epub:type="chapter">
<h2 epub:type="ordinal z3998:roman">I</h2>
<!--- FAIL 1 -->
<p>And God said, “Let there be light,” and there was light.</p>
<cite>Genesis, <span epub:type="z3998:roman">i</span>, 3</cite>
<!--- FAIL 2 -->
<blockquote>
<p>And God said, “Let there be light,” and there was light.</p>
<cite>Genesis <span epub:type="z3998:roman">i</span>, 3</cite>
</blockquote>
<!--- VALID -->
<blockquote>
<p>And God said, “Let there be light,” and there was light.</p>
<cite>Genesis 1:3</cite>
</blockquote>
</section>
</body>
</html>

0 comments on commit 9e7a03d

Please sign in to comment.