[DRE-commits] [ruby-org] 205/303: Updates examples with tables and lists.

Jérémy Bobbio lunar at alioth.debian.org
Fri Aug 9 17:33:58 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 032bac254c28cfe1e9ace82fd896b48fe39ed3b0
Author: vonavi <ivvl82 at gmail.com>
Date:   Wed Dec 19 00:46:29 2012 +0200

    Updates examples with tables and lists.
---
 spec/html_examples/custom-seq-todo.html |   33 ++++++++----
 spec/html_examples/custom-todo.html     |   33 ++++++++----
 spec/html_examples/custom-typ-todo.html |   33 ++++++++----
 spec/html_examples/deflist.html         |    9 ++--
 spec/html_examples/footnotes.html       |   15 ++++--
 spec/html_examples/only-table.html      |   14 +++--
 spec/html_examples/tables.html          |   87 ++++++++++++++++++++-----------
 7 files changed, 149 insertions(+), 75 deletions(-)

diff --git a/spec/html_examples/custom-seq-todo.html b/spec/html_examples/custom-seq-todo.html
index 365f074..4853c97 100644
--- a/spec/html_examples/custom-seq-todo.html
+++ b/spec/html_examples/custom-seq-todo.html
@@ -1,8 +1,11 @@
-<p class="title">custom-todo.org</p>
+<p class="title">custom-todo.org
+</p>
 <p>I copied this todo sequence from Worg. It shows a lot of power of the
 built-in todo functionality. Now, let’s make sure all of these are
-recognized (and therefore NOT exported.)</p>
-<h1><span class="todo-keyword TODO">TODO </span>Sample</h1>
+recognized (and therefore NOT exported.)
+</p>
+<h1><span class="todo-keyword TODO">TODO </span>Sample
+</h1>
 <ul>
   <li>State “CANCELED”   from “INPROGRESS” [2009-12-29 Tue 22:26] \
 I gave up.
@@ -11,11 +14,19 @@ I gave up.
 huh?
   </li>
 </ul>
-<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one’s in progress</h1>
-<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?</h1>
-<h1><span class="todo-keyword DONE">DONE </span>Finished this one!</h1>
-<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.</h1>
-<h1>DONT be fooled by just a random word in all caps.</h1>
-<h1>todo <== this word doesn’t match because the case doesn’t match.</h1>
-<h1>TODOX</h1>
-<p>don’t be fooled by the initial substring above!</p>
+<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one’s in progress
+</h1>
+<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?
+</h1>
+<h1><span class="todo-keyword DONE">DONE </span>Finished this one!
+</h1>
+<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.
+</h1>
+<h1>DONT be fooled by just a random word in all caps.
+</h1>
+<h1>todo <== this word doesn’t match because the case doesn’t match.
+</h1>
+<h1>TODOX
+</h1>
+<p>don’t be fooled by the initial substring above!
+</p>
diff --git a/spec/html_examples/custom-todo.html b/spec/html_examples/custom-todo.html
index 365f074..4853c97 100644
--- a/spec/html_examples/custom-todo.html
+++ b/spec/html_examples/custom-todo.html
@@ -1,8 +1,11 @@
-<p class="title">custom-todo.org</p>
+<p class="title">custom-todo.org
+</p>
 <p>I copied this todo sequence from Worg. It shows a lot of power of the
 built-in todo functionality. Now, let’s make sure all of these are
-recognized (and therefore NOT exported.)</p>
-<h1><span class="todo-keyword TODO">TODO </span>Sample</h1>
+recognized (and therefore NOT exported.)
+</p>
+<h1><span class="todo-keyword TODO">TODO </span>Sample
+</h1>
 <ul>
   <li>State “CANCELED”   from “INPROGRESS” [2009-12-29 Tue 22:26] \
 I gave up.
@@ -11,11 +14,19 @@ I gave up.
 huh?
   </li>
 </ul>
-<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one’s in progress</h1>
-<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?</h1>
-<h1><span class="todo-keyword DONE">DONE </span>Finished this one!</h1>
-<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.</h1>
-<h1>DONT be fooled by just a random word in all caps.</h1>
-<h1>todo <== this word doesn’t match because the case doesn’t match.</h1>
-<h1>TODOX</h1>
-<p>don’t be fooled by the initial substring above!</p>
+<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one’s in progress
+</h1>
+<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?
+</h1>
+<h1><span class="todo-keyword DONE">DONE </span>Finished this one!
+</h1>
+<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.
+</h1>
+<h1>DONT be fooled by just a random word in all caps.
+</h1>
+<h1>todo <== this word doesn’t match because the case doesn’t match.
+</h1>
+<h1>TODOX
+</h1>
+<p>don’t be fooled by the initial substring above!
+</p>
diff --git a/spec/html_examples/custom-typ-todo.html b/spec/html_examples/custom-typ-todo.html
index 365f074..4853c97 100644
--- a/spec/html_examples/custom-typ-todo.html
+++ b/spec/html_examples/custom-typ-todo.html
@@ -1,8 +1,11 @@
-<p class="title">custom-todo.org</p>
+<p class="title">custom-todo.org
+</p>
 <p>I copied this todo sequence from Worg. It shows a lot of power of the
 built-in todo functionality. Now, let’s make sure all of these are
-recognized (and therefore NOT exported.)</p>
-<h1><span class="todo-keyword TODO">TODO </span>Sample</h1>
+recognized (and therefore NOT exported.)
+</p>
+<h1><span class="todo-keyword TODO">TODO </span>Sample
+</h1>
 <ul>
   <li>State “CANCELED”   from “INPROGRESS” [2009-12-29 Tue 22:26] \
 I gave up.
@@ -11,11 +14,19 @@ I gave up.
 huh?
   </li>
 </ul>
-<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one’s in progress</h1>
-<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?</h1>
-<h1><span class="todo-keyword DONE">DONE </span>Finished this one!</h1>
-<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.</h1>
-<h1>DONT be fooled by just a random word in all caps.</h1>
-<h1>todo <== this word doesn’t match because the case doesn’t match.</h1>
-<h1>TODOX</h1>
-<p>don’t be fooled by the initial substring above!</p>
+<h1><span class="todo-keyword INPROGRESS">INPROGRESS </span>this one’s in progress
+</h1>
+<h1><span class="todo-keyword WAITING">WAITING </span>who am I waiting on?
+</h1>
+<h1><span class="todo-keyword DONE">DONE </span>Finished this one!
+</h1>
+<h1><span class="todo-keyword CANCELED">CANCELED </span>I gave up here.
+</h1>
+<h1>DONT be fooled by just a random word in all caps.
+</h1>
+<h1>todo <== this word doesn’t match because the case doesn’t match.
+</h1>
+<h1>TODOX
+</h1>
+<p>don’t be fooled by the initial substring above!
+</p>
diff --git a/spec/html_examples/deflist.html b/spec/html_examples/deflist.html
index c68df35..bce5c50 100644
--- a/spec/html_examples/deflist.html
+++ b/spec/html_examples/deflist.html
@@ -1,10 +1,13 @@
-<p class="title">Hallo</p>
+<p class="title">Hallo
+</p>
 <dl>
   <dt>a</dt><dd>hello</dd>
   <dt>b</dt><dd>world</dd>
 </dl>
-<p>Text</p>
-<h1>Asterisk can be used for lists</h1>
+<p>Text
+</p>
+<h1>Asterisk can be used for lists
+</h1>
 <dl>
   <dt>One</dt><dd>The first number.</dd>
   <dt>Two</dt><dd>The second number.</dd>
diff --git a/spec/html_examples/footnotes.html b/spec/html_examples/footnotes.html
index 6773944..a18bed7 100644
--- a/spec/html_examples/footnotes.html
+++ b/spec/html_examples/footnotes.html
@@ -1,11 +1,16 @@
-<p class="title">Footnotes</p>
+<p class="title">Footnotes
+</p>
 <p>Hello<sup><a class="footref" name="fnr.abc" href="#fn.abc">abc</a></sup>
-World<sup><a class="footref" name="fnr.abc" href="#fn.abc">abc</a></sup></p>
-<p>Bfoo<sup><a class="footref" name="fnr.1" href="#fn.1">1</a></sup></p>
+World<sup><a class="footref" name="fnr.abc" href="#fn.abc">abc</a></sup>
+</p>
+<p>Bfoo<sup><a class="footref" name="fnr.1" href="#fn.1">1</a></sup>
+</p>
 <div id="footnotes">
 <h2 class="footnotes">Footnotes: </h2>
 <div id="text-footnotes">
-<p class="footnote"><sup><a class="footnum" name="fn.abc" href="#fnr.abc">abc</a></sup>definition of abc</p>
-<p class="footnote"><sup><a class="footnum" name="fn.1" href="#fnr.1">1</a></sup><b>blub</b></p>
+<p class="footnote"><sup><a class="footnum" name="fn.abc" href="#fnr.abc">abc</a></sup>definition of abc
+</p>
+<p class="footnote"><sup><a class="footnum" name="fn.1" href="#fnr.1">1</a></sup><b>blub</b>
+</p>
 </div>
 </div>
diff --git a/spec/html_examples/only-table.html b/spec/html_examples/only-table.html
index 0b2823c..84fa50a 100644
--- a/spec/html_examples/only-table.html
+++ b/spec/html_examples/only-table.html
@@ -1,6 +1,10 @@
-<table>
-  <tr><th>One</th><th>Two</th><th>Three</th><th>Four</th></tr>
-  <tr><td>Five</td><td>Six</td><td>Seven</td><td>Eight</td></tr>
-  <tr><td>Nine</td><td>Ten</td><td>Eleven</td><td>Twelve</td></tr>
-  <tr><td><b>format</b></td><td><i>text</i></td><td><code>in</code></td><td><span style="text-decoration:underline;">cells</span></td></tr>
+<table class="title">
+  <tr><th>One</th><th>Two</th><th>Three</th><th>Four</th>
+  </tr>
+  <tr><td>Five</td><td>Six</td><td>Seven</td><td>Eight</td>
+  </tr>
+  <tr><td>Nine</td><td>Ten</td><td>Eleven</td><td>Twelve</td>
+  </tr>
+  <tr><td><b>format</b></td><td><i>text</i></td><td><code>in</code></td><td><span style="text-decoration:underline;">cells</span></td>
+  </tr>
 </table>
diff --git a/spec/html_examples/tables.html b/spec/html_examples/tables.html
index c15f547..6314db9 100644
--- a/spec/html_examples/tables.html
+++ b/spec/html_examples/tables.html
@@ -1,42 +1,71 @@
-<p class="title">TABLES</p>
-<p>Different types of ORG tables.</p>
-<h1>Simple table, no header.</h1>
+<p class="title">TABLES
+</p>
+<p>Different types of ORG tables.
+</p>
+<h1>Simple table, no header.
+</h1>
 <table>
-  <tr><td>Cell one</td><td>Cell two</td></tr>
-  <tr><td>Cell three</td><td>Cell four</td></tr>
+  <tr><td>Cell one</td><td>Cell two</td>
+  </tr>
+  <tr><td>Cell three</td><td>Cell four</td>
+  </tr>
 </table>
-<h1>Indented table</h1>
+<h1>Indented table
+</h1>
 <table>
-  <tr><td>Cell one</td></tr>
-  <tr><td>Cell two</td></tr>
+  <tr><td>Cell one</td>
+  </tr>
+  <tr><td>Cell two</td>
+  </tr>
 </table>
 <p>And here’s some paragraph content. The line breaks will need to get
-removed here, but not for the tables.</p>
-<h1>Table with header</h1>
+removed here, but not for the tables.
+</p>
+<h1>Table with header
+</h1>
 <table>
-  <tr><th>One</th><th>Two</th><th>Three</th></tr>
-  <tr><td>Four</td><td>Five</td><td>Six</td></tr>
-  <tr><td>Seven</td><td>Eight</td><td>Nine</td></tr>
+  <tr><th>One</th><th>Two</th><th>Three</th>
+  </tr>
+  <tr><td>Four</td><td>Five</td><td>Six</td>
+  </tr>
+  <tr><td>Seven</td><td>Eight</td><td>Nine</td>
+  </tr>
 </table>
-<p>The separator row should not get printed out.</p>
-<h1>Table with complete box</h1>
+<p>The separator row should not get printed out.
+</p>
+<h1>Table with complete box
+</h1>
 <table>
-  <tr><th>One</th><th>Two</th><th>Three</th></tr>
-  <tr><td>Four</td><td>Five</td><td>Six</td></tr>
-  <tr><td>Seven</td><td>Eight</td><td>Nine</td></tr>
+  <tr><th>One</th><th>Two</th><th>Three</th>
+  </tr>
+  <tr><td>Four</td><td>Five</td><td>Six</td>
+  </tr>
+  <tr><td>Seven</td><td>Eight</td><td>Nine</td>
+  </tr>
 </table>
-<p>Only the first row should be a header row.</p>
-<h1>Table with extra lines</h1>
+<p>Only the first row should be a header row.
+</p>
+<h1>Table with extra lines
+</h1>
 <table>
-  <tr><th>One</th><th>Two</th><th>Three</th></tr>
-  <tr><td>Four</td><td>Five</td><td>Six</td></tr>
-  <tr><td>Seven</td><td>Eight</td><td>Nine</td></tr>
-  <tr><td>Ten</td><td>Eleven</td><td>Twelve</td></tr>
+  <tr><th>One</th><th>Two</th><th>Three</th>
+  </tr>
+  <tr><td>Four</td><td>Five</td><td>Six</td>
+  </tr>
+  <tr><td>Seven</td><td>Eight</td><td>Nine</td>
+  </tr>
+  <tr><td>Ten</td><td>Eleven</td><td>Twelve</td>
+  </tr>
 </table>
-<p>Only the first row should be a header row.</p>
-<h1>Fix error when table starts with hline (Thanks @til!)</h1>
+<p>Only the first row should be a header row.
+</p>
+<h1>Fix error when table starts with hline (Thanks @til!)
+</h1>
 <table>
-  <tr><th>foo</th><th>bar</th></tr>
-  <tr><td>1</td><td>2</td></tr>
+  <tr><th>foo</th><th>bar</th>
+  </tr>
+  <tr><td>1</td><td>2</td>
+  </tr>
 </table>
-<p>https://github.com/bdewey/org-ruby/pull/34</p>
+<p>https://github.com/bdewey/org-ruby/pull/34
+</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