Skip to content

Commit 657377b

Browse files
committed
Remove unnecessary line breaks from examples
This avoids getting into the (fairly complicated) discussion of white space processing where that's not relevant. See #18
1 parent 895cdf5 commit 657377b

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

Overview.bs

+4-17
Original file line numberDiff line numberDiff line change
@@ -296,9 +296,7 @@ The <dfn element><code>ruby</code></dfn> element</h3>
296296
to the following:
297297

298298
<pre><code highlight="html">
299-
&lt;ruby lang=zh-TW>
300-
美&lt;rt>ㄇㄟˇ&lt;rtc lang=zh-Latn>měi
301-
&lt;/ruby>
299+
&lt;ruby lang=zh-TW>美&lt;rt>ㄇㄟˇ&lt;rtc lang=zh-Latn>měi&lt;/ruby>
302300
</code></pre>
303301
</div>
304302

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

359357
<pre lang="zh-TW"><code highlight="html">
360-
&lt;ruby lang=zh-TW>
361-
&lt;rb>電&lt;rb>腦
362-
&lt;rt>ㄉㄧㄢˋ&lt;rt>ㄋㄠˇ
363-
&lt;/ruby>
358+
&lt;ruby lang=zh-TW>&lt;rb>電&lt;rb>腦&lt;rt>ㄉㄧㄢˋ&lt;rt>ㄋㄠˇ&lt;/ruby>
364359
</code></pre>
365360
</div>
366361

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

853848
<pre><code highlight="html">
854-
&lt;ruby>
855-
&lt;rb>上&lt;rb>手
856-
&lt;rt>じよう&lt;rt>ず
857-
&lt;rtc>&lt;rt>jou&lt;rt>zu
858-
&lt;/ruby>
849+
&lt;ruby>&lt;rb>上&lt;rb>手&lt;rt>じよう&lt;rt>ず&lt;rtc>&lt;rt>jou&lt;rt>zu&lt;/ruby>
859850
</code></pre>
860851
</div>
861852

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

882873
<pre><code highlight="html">
883-
&lt;ruby>
884-
&lt;rb>旧&lt;rb>金&lt;rb>山
885-
&lt;rt>jiù&lt;rt>jīn&lt;rt>shān
886-
&lt;rtc>San Francisco
887-
&lt;/ruby>
874+
&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>
888875
</code></pre>
889876

890877
Here, a single base run of three base characters

0 commit comments

Comments
 (0)