Skip to content

Commit

Permalink
fix figcaption tagging to play better with gitlocalize
Browse files Browse the repository at this point in the history
  • Loading branch information
mattgarrish committed Sep 20, 2024
1 parent a7bf009 commit 268ca81
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions publishing/docs/sync-media/lists.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ <h3>Techniques</h3>
<h3>Examples</h3>

<figure id="ex-01">
<figcaption>Example 1 &#8212; Comparison of ordered and unordered lists</figcaption>
<figcaption>
<div class="label">Example 1 &#8212; Comparison of ordered and unordered lists</div>
</figcaption>

<pre id="ex-01-src" class="prettyprint linenums small"><code>&lt;ul>
&lt;li>&#8230;&lt;/li>
Expand Down Expand Up @@ -65,7 +67,9 @@ <h3>Examples</h3>
</figure>

<figure id="ex-02">
<figcaption>Example 2 &#8212; Comparison of definition lists</figcaption>
<figcaption>
<div class="label">Example 2 &#8212; Comparison of definition lists</div>
</figcaption>

<pre id="ex-02-src" class="prettyprint linenums small"><code>&lt;dl>
&lt;dt>&#8230;&lt;/dt>
Expand Down
8 changes: 6 additions & 2 deletions publishing/docs/sync-media/overlays.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ <h3>Overview</h3>
<h3>Examples</h3>

<figure id="ex-01">
<figcaption>Example 1 &#8212; A basic overlay document</figcaption>
<figcaption>
<div class="label">Example 1 &#8212; A basic overlay document</div>
</figcaption>

<p>The following example shows an overlay document for a chapter that consists of only a heading and two
paragraphs.</p>
Expand Down Expand Up @@ -189,7 +191,9 @@ <h3>Examples</h3>
</figure>

<figure id="ex-02">
<figcaption>Example 2 &#8212; Linking a chapter document to its overlay</figcaption>
<figcaption>
<div class="label">Example 2 &#8212; Linking a chapter document to its overlay</div>
</figcaption>

<pre id="ex-02-src" class="prettyprint linenums"><code>&lt;item id="xchapter_001"
href="chapter_001.xhtml"
Expand Down

0 comments on commit 268ca81

Please sign in to comment.