[DRE-commits] [ruby-org] 211/303: The rest of HTML examples corrected.

Jérémy Bobbio lunar at alioth.debian.org
Fri Aug 9 17:33:59 UTC 2013


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to branch master
in repository ruby-org.

commit 44d48ca267fbe381f03f81820bdd2b9306aaa1fd
Author: vonavi <ivvl82 at gmail.com>
Date:   Thu Dec 20 00:52:38 2012 +0200

    The rest of HTML examples corrected.
---
 spec/html_examples/code-lists.html        |  163 ++++++++++++++++-------------
 spec/html_examples/properties_drawer.html |   21 ++--
 spec/html_examples/skip-table.html        |   12 ++-
 3 files changed, 114 insertions(+), 82 deletions(-)

diff --git a/spec/html_examples/code-lists.html b/spec/html_examples/code-lists.html
index 9aa559d..dc37be9 100644
--- a/spec/html_examples/code-lists.html
+++ b/spec/html_examples/code-lists.html
@@ -1,123 +1,144 @@
-<h1 class="title">normal list should work</h1>
+<h1 class="title">normal list should work
+</h1>
 <ul>
   <li>one
 text in the same line
-  <p>This is a paragraph</p>
-  <ul>
-    <li>A sublist
+    <p>This is a paragraph
+    </p>
     <ul>
-      <li>Another sublist
-      <p>Sublist paragraph</p>
+      <li>A sublist
+        <ul>
+          <li>Another sublist
+            <p>Sublist paragraph
+            </p>
+          </li>
+        </ul>
       </li>
-    </ul>
-    </li>
-    <li>2nd sublist
-    <ul>
-      <li>2nd sublist item
-      <p>Paragraph from 2nd sublist</p>
+      <li>2nd sublist
+        <ul>
+          <li>2nd sublist item
+            <p>Paragraph from 2nd sublist
+            </p>
+          </li>
+        </ul>
       </li>
     </ul>
-    </li>
-  </ul>
   </li>
   <li>two
-  <ol>
-    <li>a new list
-    <p>paragraph</p>
-    </li>
-    <li>another sublist
-    </li>
-  </ol>
+    <ol>
+      <li>a new list
+        <p>paragraph
+        </p>
+      </li>
+      <li>another sublist
+      </li>
+    </ol>
   </li>
   <li>final list
   </li>
 </ul>
-<h1>paragraphs in lists should work</h1>
+<h1>paragraphs in lists should work
+</h1>
 <ul>
   <li>Foo
-  <ul>
-    <li>How does this work?
-    <p>uno dos tres</p>
-    </li>
-    <li>Should not this be a paragraph?
-    </li>
-  </ul>
+    <ul>
+      <li>How does this work?
+        <p>uno dos tres
+        </p>
+      </li>
+      <li>Should not this be a paragraph?
+      </li>
+    </ul>
   </li>
   <li>Bar
   </li>
 </ul>
-<h1>begin example in lists should work</h1>
+<h1>begin example in lists should work
+</h1>
 <ul>
   <li>Foo
-  <pre class="example">
+    <pre class="example">
     class Hello
       def say
         puts 'cheers'
       end
     end
-  </pre>
+    </pre>
   </li>
   <li>Bar
-  <pre class="example">
+    <pre class="example">
     This gets lumped in to the above line "Example"
-  </pre>
+    </pre>
   </li>
   <li>Hello
   </li>
 </ul>
-<h1>begin quote in lists should work</h1>
+<h1>begin quote in lists should work
+</h1>
 <ul>
   <li>Example
-  <ul>
-    <li>Uno
+    <ul>
+      <li>Uno
 Lorem
-    <blockquote>
-      <p>A quote!!!</p>
-    </blockquote>
-    <p>dolor</p>
-    </li>
-    <li>Dos
-    </li>
-  </ul>
+        <blockquote>
+          <p>A quote!!!
+          </p>
+        </blockquote>
+        <p>dolor
+        </p>
+      </li>
+      <li>Dos
+      </li>
+    </ul>
   </li>
 </ul>
-<h1>tables in lists should work</h1>
+<h1>tables in lists should work
+</h1>
 <ul>
   <li>Example
-  <ul>
-    <li>Table
-    <p>This table:</p>
-    <table>
-      <tr><td>a</td><td>b</td></tr>
-      <tr><td>0</td><td>1</td></tr>
-      <tr><td>1</td><td>2</td></tr>
-    </table>
-    </li>
-  </ul>
+    <ul>
+      <li>Table
+        <p>This table:
+        </p>
+        <table>
+          <tr><td>a</td><td>b</td>
+          </tr>
+          <tr><td>0</td><td>1</td>
+          </tr>
+          <tr><td>1</td><td>2</td>
+          </tr>
+        </table>
+      </li>
+    </ul>
   </li>
   <li>After the table
-  <p>The table should be above</p>
+    <p>The table should be above
+    </p>
   </li>
 </ul>
-<h1>definition lists should work</h1>
+<h1>definition lists should work
+</h1>
 <ul>
   <li>Example
-  <dl>
-    <dt>Hello</dt><dd>Hola
+    <dl>
+      <dt>Hello</dt><dd>Hola
 Paragrap continues here</dd>
-    <blockquote>
-      <p>Cuando me desperte, el dinosaurio estaba alli.</p>
-    </blockquote>
-    <dt>Dog</dt><dd>Perro
+        <blockquote>
+          <p>Cuando me desperte, el dinosaurio estaba alli.
+          </p>
+        </blockquote>
+      <dt>Dog</dt><dd>Perro
 Paragraph</dd>
-    <li>Last sublist
-    </li>
-  </dl>
+    </dl>
+    <ul>
+      <li>Last sublist
+      </li>
+    </ul>
   </li>
   <li>Another list
-  <ul>
-    <li>with a sublist
-    </li>
-  </ul>
+    <ul>
+      <li>with a sublist
+      </li>
+    </ul>
   </li>
 </ul>
diff --git a/spec/html_examples/properties_drawer.html b/spec/html_examples/properties_drawer.html
index c500381..15f2113 100644
--- a/spec/html_examples/properties_drawer.html
+++ b/spec/html_examples/properties_drawer.html
@@ -1,19 +1,26 @@
-<h1 class="title">The mount point of the fullest disk</h1>
-<h2>query all mounted disks</h2>
+<h1 class="title">The mount point of the fullest disk
+</h1>
+<h2>query all mounted disks
+</h2>
 <pre class="example">
   df \
 </pre>
-<h2>strip the header row</h2>
+<h2>strip the header row
+</h2>
 <pre class="example">
   |sed '1d' \
 </pre>
-<h2>sort by the percent full</h2>
+<h2>sort by the percent full
+</h2>
 <pre class="example">
   |awk '{print $5 " " $6}'|sort -n |tail -1 \
 </pre>
-<h2>extract the mount point</h2>
+<h2>extract the mount point
+</h2>
 <pre class="example">
   |awk '{print $2}'
 </pre>
-<h1>Properties drawer example</h1>
-<p>These properties are metadata so they should not be visible.</p>
+<h1>Properties drawer example
+</h1>
+<p>These properties are metadata so they should not be visible.
+</p>
diff --git a/spec/html_examples/skip-table.html b/spec/html_examples/skip-table.html
index 470a8ce..4263663 100644
--- a/spec/html_examples/skip-table.html
+++ b/spec/html_examples/skip-table.html
@@ -1,5 +1,9 @@
-<p class="title">skip-table.org</p>
-<p>Checking that tables are skipped when directed.</p>
+<p class="title">skip-table.org
+</p>
+<p>Checking that tables are skipped when directed.
+</p>
 <p>For grins, here’s another table without a header. Just keep the bases
-covered.</p>
-<p>Again, in the HTML output, you should see <b>no tables</b>.</p>
+covered.
+</p>
+<p>Again, in the HTML output, you should see <b>no tables</b>.
+</p>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-org.git



More information about the Pkg-ruby-extras-commits mailing list