Skip to content

Commit

Permalink
Remove unnecessary line breaks from examples
Browse files Browse the repository at this point in the history
This avoids getting into the (fairly complicated) discussion of white
space processing where that's not relevant.

See #18
  • Loading branch information
frivoal committed Jun 27, 2024
1 parent 895cdf5 commit 657377b
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,7 @@ The <dfn element><code>ruby</code></dfn> element</h3>
to the following:

<pre><code highlight="html">
&lt;ruby lang=zh-TW>
美&lt;rt>ㄇㄟˇ&lt;rtc lang=zh-Latn>měi
&lt;/ruby>
&lt;ruby lang=zh-TW>美&lt;rt>ㄇㄟˇ&lt;rtc lang=zh-Latn>měi&lt;/ruby>
</code></pre>
</div>

Expand Down Expand Up @@ -357,10 +355,7 @@ The <dfn element><code>ruby</code></dfn> element</h3>
and therefore share the same markup:

<pre lang="zh-TW"><code highlight="html">
&lt;ruby lang=zh-TW>
&lt;rb>電&lt;rb>腦
&lt;rt>ㄉㄧㄢˋ&lt;rt>ㄋㄠˇ
&lt;/ruby>
&lt;ruby lang=zh-TW>&lt;rb>電&lt;rb>腦&lt;rt>ㄉㄧㄢˋ&lt;rt>ㄋㄠˇ&lt;/ruby>
</code></pre>
</div>

Expand Down Expand Up @@ -851,11 +846,7 @@ The <dfn element><code>rtc</code></dfn> element</h3>
This enabled by the following markup:

<pre><code highlight="html">
&lt;ruby>
&lt;rb>上&lt;rb>手
&lt;rt>じよう&lt;rt>ず
&lt;rtc>&lt;rt>jou&lt;rt>zu
&lt;/ruby>
&lt;ruby>&lt;rb>上&lt;rb>手&lt;rt>じよう&lt;rt>ず&lt;rtc>&lt;rt>jou&lt;rt>zu&lt;/ruby>
</code></pre>
</div>

Expand All @@ -880,11 +871,7 @@ The <dfn element><code>rtc</code></dfn> element</h3>
Which is marked up as follows:

<pre><code highlight="html">
&lt;ruby>
&lt;rb>旧&lt;rb>金&lt;rb>山
&lt;rt>jiù&lt;rt>jīn&lt;rt>shān
&lt;rtc>San Francisco
&lt;/ruby>
&lt;ruby>&lt;rb>旧&lt;rb>金&lt;rb>山&lt;rt>jiù&lt;rt>jīn&lt;rt>shān&lt;rtc>San Francisco&lt;/ruby>
</code></pre>

Here, a single base run of three base characters
Expand Down

0 comments on commit 657377b

Please sign in to comment.