summaryrefslogtreecommitdiff
path: root/docutils/test/functional
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2020-01-30 00:44:51 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2020-01-30 00:44:51 +0000
commit5a88602e966b7d8bf04193afb1e56261114ba3fe (patch)
treedc8089d2a926f33576100e6c0775298ff8e56da5 /docutils/test/functional
parent687f673187421c6087ba40b410072abfd493ed59 (diff)
downloaddocutils-5a88602e966b7d8bf04193afb1e56261114ba3fe.tar.gz
html5: use semantic text-level tags
if matching class value found in "inline" and "inline-literal" emements. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8475 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional')
-rw-r--r--docutils/test/functional/expected/standalone_rst_html5.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/docutils/test/functional/expected/standalone_rst_html5.html b/docutils/test/functional/expected/standalone_rst_html5.html
index f96b32f54..821edcb4b 100644
--- a/docutils/test/functional/expected/standalone_rst_html5.html
+++ b/docutils/test/functional/expected/standalone_rst_html5.html
@@ -1362,13 +1362,13 @@ reStructuredText equivalents.</p>
<dd><p>Side comments</p>
<blockquote>
<p>These grapes are made into wine.
-<span class="small">Alcohol is addictive.</span></p>
+<small>Alcohol is addictive.</small></p>
</blockquote>
</dd>
<dt>s</dt>
<dd><p>Inaccurate text</p>
<blockquote>
-<p>Price: <span class="s">£4.50</span> £2.00!</p>
+<p>Price: <s>£4.50</s> £2.00!</p>
</blockquote>
</dd>
<dt>cite</dt>
@@ -1381,14 +1381,14 @@ I recommend reading <cite>Harry Potter</cite>.</p>
<dt>q</dt>
<dd><p>Quotations</p>
<blockquote>
-<p>The judge said <span class="q">You can drink water from the fish tank</span>
+<p>The judge said <q>You can drink water from the fish tank</q>
but advised against it.</p>
</blockquote>
</dd>
<dt>dfn</dt>
<dd><p>Defining instance</p>
<blockquote>
-<p>The term <span class="dfn">organic food</span> refers to food produced without synthetic
+<p>The term <dfn>organic food</dfn> refers to food produced without synthetic
chemicals.</p>
</blockquote>
</dd>
@@ -1436,20 +1436,20 @@ Organic Apple Cider&lt;/data&gt;</p>
<dt>var</dt>
<dd><p>Variables</p>
<blockquote>
-<p>If there are <span class="var">n</span> fruit in the bowl, at least <span class="var">n</span>÷2 will be
+<p>If there are <var>n</var> fruit in the bowl, at least <var>n</var>÷2 will be
ripe.</p>
</blockquote>
</dd>
<dt>samp</dt>
<dd><p>Computer output</p>
<blockquote>
-<p>The computer said <span class="samp docutils literal">Unknown error <span class="pre">-3</span></span>.</p>
+<p>The computer said <samp class="docutils literal">Unknown error <span class="pre">-3</span></samp>.</p>
</blockquote>
</dd>
<dt>kbd</dt>
<dd><p>User input</p>
<blockquote>
-<p>Hit <span class="kbd">F1</span> to continue.</p>
+<p>Hit <kbd>F1</kbd> to continue.</p>
</blockquote>
</dd>
<dt>sub</dt>
@@ -1467,33 +1467,33 @@ ripe.</p>
<dt>i</dt>
<dd><p>Alternative voice</p>
<blockquote>
-<p>Lemonade consists primarily of <span class="i" lang="la">Citrus limon</span>.</p>
+<p>Lemonade consists primarily of <i lang="la">Citrus limon</i>.</p>
</blockquote>
</dd>
<dt>b</dt>
<dd><p>Keywords</p>
<blockquote>
-<p>Take a <span class="b">lemon</span> and squeeze it with a <span class="b">juicer</span>.</p>
+<p>Take a <b>lemon</b> and squeeze it with a <b>juicer</b>.</p>
</blockquote>
</dd>
<dt>u</dt>
<dd><p>Annotations</p>
<blockquote>
-<p>The mixture of apple juice and <span class="u spelling">eldeflower</span> juice is very
+<p>The mixture of apple juice and <u class="spelling">eldeflower</u> juice is very
pleasant.</p>
</blockquote>
</dd>
<dt>mark</dt>
<dd><p>Highlight</p>
<blockquote>
-<p>Elderflower cordial, with one <span class="mark">part</span> cordial to ten
-<span class="mark">part</span>s water, stands a<span class="mark">part</span> from the rest.</p>
+<p>Elderflower cordial, with one <mark>part</mark> cordial to ten
+<mark>part</mark>s water, stands a<mark>part</mark> from the rest.</p>
</blockquote>
</dd>
<dt>bdi</dt>
<dd><p>Text directionality isolation <a class="footnote-reference brackets" href="#attribute-optional" id="footnote-reference-14">5</a></p>
<blockquote>
-<p>The recommended restaurant is <span class="bdi">My Juice Café (At The Beach)</span>.</p>
+<p>The recommended restaurant is <bdi>My Juice Café (At The Beach)</bdi>.</p>
</blockquote>
<p>The <cite>dir</cite> global attribute defaults to &quot;auto&quot; (not &quot;inherit&quot;) on this
element.</p>