[DRE-commits] [ruby-org] 281/303: Slight modifies headline attributes.

Jérémy Bobbio lunar at alioth.debian.org
Fri Aug 9 17:34:13 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 835f8de6ce2027c204fd6059cd522e10cd6ee9b1
Author: vonavi <ivvl82 at gmail.com>
Date:   Wed Feb 6 12:10:05 2013 +0200

    Slight modifies headline attributes.
---
 lib/org-ruby/html_output_buffer.rb                 |    4 +--
 .../advanced-code-coderay.html                     |   28 ++++++++++----------
 .../advanced-code-no-color.html                    |    6 ++---
 .../advanced-code-pygments.html                    |   28 ++++++++++----------
 spec/html_examples/custom-seq-todo.html            |   10 +++----
 spec/html_examples/custom-todo.html                |   10 +++----
 spec/html_examples/custom-typ-todo.html            |   10 +++----
 spec/html_examples/export-exclude-only.html        |   12 ++++-----
 spec/html_examples/export-keywords.html            |    4 +--
 spec/html_examples/export-tags.html                |    8 +++---
 spec/html_examples/skip-header.html                |    2 +-
 11 files changed, 61 insertions(+), 61 deletions(-)

diff --git a/lib/org-ruby/html_output_buffer.rb b/lib/org-ruby/html_output_buffer.rb
index 72c482d..37557d6 100644
--- a/lib/org-ruby/html_output_buffer.rb
+++ b/lib/org-ruby/html_output_buffer.rb
@@ -182,11 +182,11 @@ module Orgmode
       if @options[:export_heading_number] then
         level = headline.level
         heading_number = get_next_headline_number(level)
-        @output << "<span class=\"heading-number heading-number-#{level}\">#{heading_number} </span>"
+        @output << "<span class=\"heading-number heading-number-#{level}\">#{heading_number}</span> "
       end
       if @options[:export_todo] and headline.keyword then
         keyword = headline.keyword
-        @output << "<span class=\"todo-keyword #{keyword}\">#{keyword} </span>"
+        @output << "<span class=\"todo-keyword #{keyword}\">#{keyword}</span> "
       end
     end
 
diff --git a/spec/html_code_syntax_highlight_examples/advanced-code-coderay.html b/spec/html_code_syntax_highlight_examples/advanced-code-coderay.html
index bbbffa7..fef07b3 100644
--- a/spec/html_code_syntax_highlight_examples/advanced-code-coderay.html
+++ b/spec/html_code_syntax_highlight_examples/advanced-code-coderay.html
@@ -1,6 +1,6 @@
 <p class="title">advanced-code-coderay.org</p>
 <p>Turns out there’s more way to do code than just BEGIN_EXAMPLE.</p>
-<h1><span class="heading-number heading-number-1">1 </span>Inline examples</h1>
+<h1><span class="heading-number heading-number-1">1</span> Inline examples</h1>
 <p>This should work:</p>
 <pre class="example">
   fixed width? how does this work?   
@@ -14,7 +14,7 @@
                            ....
 </pre>
 <p>Two ASCII blobs.</p>
-<h1><span class="heading-number heading-number-1">2 </span>BEGIN_SRC</h1>
+<h1><span class="heading-number heading-number-1">2</span> BEGIN_SRC</h1>
 <p>And this:</p>
 <pre class="src src-ruby">
 <span style="color:#777"># Finds all emphasis matches in a string.</span>
@@ -49,7 +49,7 @@ user> (<span style="color:#080;font-weight:bold">take</span> <span style="col
 <pre class="src">
 echo 'Defaults env_keeps="http_proxy https_proxy ftp_proxy"' | sudo tee -a /etc/sudoers
 </pre>
-<h1><span class="heading-number heading-number-1">3 </span>It should be possible to write a colon at the beginning of an example</h1>
+<h1><span class="heading-number heading-number-1">3</span> It should be possible to write a colon at the beginning of an example</h1>
 <blockquote>
   <p>I really love to write about
     :symbols. They sure are the
@@ -69,12 +69,12 @@ echo 'Defaults env_keeps="http_proxy https_proxy ftp_proxy"' | sudo te
                  <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">1.0-SNAPSHOT</span><span style="color:#710">"</span></span>]]
 <span style="color:#A60">:main</span> helloworld)
 </pre>
-<h1><span class="heading-number heading-number-1">4 </span>Code syntax highlight with Coderay</h1>
-<h2><span class="heading-number heading-number-2">4.1 </span>No language selected</h2>
+<h1><span class="heading-number heading-number-1">4</span> Code syntax highlight with Coderay</h1>
+<h2><span class="heading-number heading-number-2">4.1</span> No language selected</h2>
 <pre class="src">
 Nothing to see here
 </pre>
-<h2><span class="heading-number heading-number-2">4.2 </span>CSS example</h2>
+<h2><span class="heading-number heading-number-2">4.2</span> CSS example</h2>
 <pre class="src src-css">
 <span style="color:#339;font-weight:bold">*</span> {
  <span style="color:#777">/* apply a natural box layout model to all elements */</span>
@@ -83,7 +83,7 @@ Nothing to see here
  <span style="color:#606">-webkit-box-sizing</span>: <span style="color:#088">border-box</span>; 
 }
 </pre>
-<h2><span class="heading-number heading-number-2">4.3 </span>HTML example</h2>
+<h2><span class="heading-number heading-number-2">4.3</span> HTML example</h2>
 <pre class="src src-html">
 <span style="color:#070"><html></span>
   <span style="color:#070"><head></span>
@@ -94,7 +94,7 @@ Nothing to see here
   <span style="color:#070"></body></span>
 <span style="color:#070"></html></span>
 </pre>
-<h2><span class="heading-number heading-number-2">4.4 </span>Ruby example</h2>
+<h2><span class="heading-number heading-number-2">4.4</span> Ruby example</h2>
 <pre class="src src-ruby">
 <span style="color:#080;font-weight:bold">class</span> <span style="color:#B06;font-weight:bold">Post</span> << <span style="color:#036;font-weight:bold">ActiveRecord</span>::<span style="color:#036;font-weight:bold">Base</span>
   <span style="color:#080;font-weight:bold">def</span> <span style="color:#06B;font-weight:bold">print_title</span>
@@ -102,14 +102,14 @@ Nothing to see here
   <span style="color:#080;font-weight:bold">end</span>
 <span style="color:#080;font-weight:bold">end</span>
 </pre>
-<h2><span class="heading-number heading-number-2">4.5 </span>Python example</h2>
+<h2><span class="heading-number heading-number-2">4.5</span> Python example</h2>
 <pre class="src src-python">
 <span style="color:#080;font-weight:bold">import</span> <span style="color:#B44;font-weight:bold">mapnik</span>
 
 m = mapnik.Map(<span style="color:#00D">600</span>, <span style="color:#00D">800</span>)
 m.background = Map.Color(<span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">'</span><span style="color:#D20">steelblue</span><span style="color:#710">'</span></span>)
 </pre>
-<h2><span class="heading-number heading-number-2">4.6 </span>Javascript example</h2>
+<h2><span class="heading-number heading-number-2">4.6</span> Javascript example</h2>
 <pre class="src src-javascript">
 exports = <span style="color:#963">this</span>;
 
@@ -123,25 +123,25 @@ Posts.<span style="color:#06B;font-weight:bold">index</span> = <span style="colo
 
 })(jQuery);
 </pre>
-<h2><span class="heading-number heading-number-2">4.7 </span>JSON example</h2>
+<h2><span class="heading-number heading-number-2">4.7</span> JSON example</h2>
 <pre class="src src-json">
 { <span style="color:#F00;background-color:#FAA">n</span><span style="color:#F00;background-color:#FAA">a</span><span style="color:#F00;background-color:#FAA">m</span><span style="color:#F00;background-color:#FAA">e</span>: <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">Waldemar</span><span style="color:#710">"</span></span>
 , <span style="color:#F00;background-color:#FAA">s</span><span style="color:#F00;background-color:#FAA">u</span><span style="color:#F00;background-color:#FAA">r</span><span style="color:#F00;background-color:#FAA">n</span><span style="color:#F00;background-color:#FAA">a</span><span style="color:#F00;background-color:#FAA">m</span><span style="color:#F00;background-color:#FAA">e</span>: <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style= [...]
 }
 </pre>
-<h2><span class="heading-number heading-number-2">4.8 </span>PHP example</h2>
+<h2><span class="heading-number heading-number-2">4.8</span> PHP example</h2>
 <pre class="src src-php">
 <span style="color:#369;font-weight:bold">echo</span> <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">Hello</span><span style="color:#710">"</span></span>;
 <span style="color:#369;font-weight:bold">phpinfo</span>();
 <span style="color:#369;font-weight:bold">var_dump</span>(some_var);
 </pre>
-<h2><span class="heading-number heading-number-2">4.9 </span>Elisp example</h2>
+<h2><span class="heading-number heading-number-2">4.9</span> Elisp example</h2>
 <pre class="src src-emacs-lisp">
 (defun hello()
   (interactive)
   (message "hello"))
 </pre>
-<h2><span class="heading-number heading-number-2">4.10 </span>Not supported language example</h2>
+<h2><span class="heading-number heading-number-2">4.10</span> Not supported language example</h2>
 <pre class="src src-notsupported">
 !+!+++!++!++!++!+
 </pre>
diff --git a/spec/html_code_syntax_highlight_examples/advanced-code-no-color.html b/spec/html_code_syntax_highlight_examples/advanced-code-no-color.html
index 8baba85..be113ef 100644
--- a/spec/html_code_syntax_highlight_examples/advanced-code-no-color.html
+++ b/spec/html_code_syntax_highlight_examples/advanced-code-no-color.html
@@ -1,6 +1,6 @@
 <p class="title">advanced-code.org</p>
 <p>Turns out there’s more way to do code than just BEGIN_EXAMPLE.</p>
-<h1><span class="heading-number heading-number-1">1 </span>Inline examples</h1>
+<h1><span class="heading-number heading-number-1">1</span> Inline examples</h1>
 <p>This should work:</p>
 <pre class="example">
   fixed width? how does this work?   
@@ -14,7 +14,7 @@
                            ....
 </pre>
 <p>Two ASCII blobs.</p>
-<h1><span class="heading-number heading-number-1">2 </span>BEGIN_SRC</h1>
+<h1><span class="heading-number heading-number-1">2</span> BEGIN_SRC</h1>
 <p>And this:</p>
 <pre class="src src-ruby">
 # Finds all emphasis matches in a string.
@@ -49,7 +49,7 @@ user> (take 20 fib-seq)
 <pre class="src">
 echo 'Defaults env_keeps="http_proxy https_proxy ftp_proxy"' | sudo tee -a /etc/sudoers
 </pre>
-<h1><span class="heading-number heading-number-1">3 </span>It should be possible to write a colon at the beginning of an example</h1>
+<h1><span class="heading-number heading-number-1">3</span> It should be possible to write a colon at the beginning of an example</h1>
 <blockquote>
   <p>I really love to write about
     :symbols. They sure are the
diff --git a/spec/html_code_syntax_highlight_examples/advanced-code-pygments.html b/spec/html_code_syntax_highlight_examples/advanced-code-pygments.html
index c23dbe9..07f2d4d 100644
--- a/spec/html_code_syntax_highlight_examples/advanced-code-pygments.html
+++ b/spec/html_code_syntax_highlight_examples/advanced-code-pygments.html
@@ -1,6 +1,6 @@
 <p class="title">advanced-code.org</p>
 <p>Turns out there’s more way to do code than just BEGIN_EXAMPLE.</p>
-<h1><span class="heading-number heading-number-1">1 </span>Inline examples</h1>
+<h1><span class="heading-number heading-number-1">1</span> Inline examples</h1>
 <p>This should work:</p>
 <pre class="example">
   fixed width? how does this work?   
@@ -14,7 +14,7 @@
                            ....
 </pre>
 <p>Two ASCII blobs.</p>
-<h1><span class="heading-number heading-number-1">2 </span>BEGIN_SRC</h1>
+<h1><span class="heading-number heading-number-1">2</span> BEGIN_SRC</h1>
 <p>And this:</p>
 <div class="highlight"><pre><span class="c1"># Finds all emphasis matches in a string.</span>
 <span class="c1"># Supply a block that will get the marker and body as parameters.</span>
@@ -45,7 +45,7 @@
 <p>Even if no language is set, it is still wrapped in code tags but class is empty.</p>
 <div class="highlight"><pre>echo 'Defaults env_keeps="http_proxy https_proxy ftp_proxy"' | sudo tee -a /etc/sudoers
 </pre></div>
-<h1><span class="heading-number heading-number-1">3 </span>It should be possible to write a colon at the beginning of an example</h1>
+<h1><span class="heading-number heading-number-1">3</span> It should be possible to write a colon at the beginning of an example</h1>
 <blockquote>
   <p>I really love to write about
     :symbols. They sure are the
@@ -63,11 +63,11 @@
                  <span class="s">"1.0-SNAPSHOT"</span><span class="p">]]</span>
 <span class="ss">:main</span> <span class="nv">helloworld</span><span class="p">)</span>
 </pre></div>
-<h1><span class="heading-number heading-number-1">4 </span>Code syntax highlight with Pygments</h1>
-<h2><span class="heading-number heading-number-2">4.1 </span>No language selected</h2>
+<h1><span class="heading-number heading-number-1">4</span> Code syntax highlight with Pygments</h1>
+<h2><span class="heading-number heading-number-2">4.1</span> No language selected</h2>
 <div class="highlight"><pre><script>alert('hello world')</script>
 </pre></div>
-<h2><span class="heading-number heading-number-2">4.2 </span>CSS example</h2>
+<h2><span class="heading-number heading-number-2">4.2</span> CSS example</h2>
 <div class="highlight"><pre><span class="o">*</span> <span class="p">{</span>
  <span class="c">/* apply a natural box layout model to all elements */</span>
  <span class="n">box</span><span class="o">-</span><span class="n">sizing</span><span class="o">:</span> <span class="k">border</span><span class="o">-</span><span class="n">box</span><span class="p">;</span> 
@@ -75,7 +75,7 @@
  <span class="o">-</span><span class="n">webkit</span><span class="o">-</span><span class="n">box</span><span class="o">-</span><span class="n">sizing</span><span class="o">:</span> <span class="k">border</span><span class="o">-</span><span class="n">box</span><span class="p">;</span> 
 <span class="p">}</span>
 </pre></div>
-<h2><span class="heading-number heading-number-2">4.3 </span>HTML example</h2>
+<h2><span class="heading-number heading-number-2">4.3</span> HTML example</h2>
 <div class="highlight"><pre><span class="nt"><html></span>
   <span class="nt"><head></span>
     <span class="nt"><title></span>Hello<span class="nt"></title></span>
@@ -85,20 +85,20 @@
   <span class="nt"></body></span>
 <span class="nt"></html></span>
 </pre></div>
-<h2><span class="heading-number heading-number-2">4.4 </span>Ruby example</h2>
+<h2><span class="heading-number heading-number-2">4.4</span> Ruby example</h2>
 <div class="highlight"><pre><span class="k">class</span> <span class="nc">Post</span> <span class="o"><<</span> <span class="ss">ActiveRecord</span><span class="p">:</span><span class="ss">:Base</span>
   <span class="k">def</span> <span class="nf">print_title</span>
     <span class="nb">puts</span> <span class="s2">"</span><span class="si">#{</span><span class="nb">self</span><span class="o">.</span><span class="n">title</span><span class="si">}</span><span class="s2">"</span>
   <span class="k">end</span>
 <span class="k">end</span>
 </pre></div>
-<h2><span class="heading-number heading-number-2">4.5 </span>Python example</h2>
+<h2><span class="heading-number heading-number-2">4.5</span> Python example</h2>
 <div class="highlight"><pre><span class="kn">import</span> <span class="nn">mapnik</span>
 
 <span class="n">m</span> <span class="o">=</span> <span class="n">mapnik</span><span class="o">.</span><span class="n">Map</span><span class="p">(</span><span class="mi">600</span><span class="p">,</span> <span class="mi">800</span><span class="p">)</span>
 <span class="n">m</span><span class="o">.</span><span class="n">background</span> <span class="o">=</span> <span class="n">Map</span><span class="o">.</span><span class="n">Color</span><span class="p">(</span><span class="s">'steelblue'</span><span class="p">)</span>
 </pre></div>
-<h2><span class="heading-number heading-number-2">4.6 </span>Javascript example</h2>
+<h2><span class="heading-number heading-number-2">4.6</span> Javascript example</h2>
 <div class="highlight"><pre><span class="nx">exports</span> <span class="o">=</span> <span class="k">this</span><span class="p">;</span>
 
 <span class="p">(</span><span class="kd">function</span><span class="p">(</span><span class="nx">$</span><span class="p">){</span>
@@ -111,21 +111,21 @@
 
 <span class="p">})(</span><span class="nx">jQuery</span><span class="p">);</span>
 </pre></div>
-<h2><span class="heading-number heading-number-2">4.7 </span>JSON example</h2>
+<h2><span class="heading-number heading-number-2">4.7</span> JSON example</h2>
 <div class="highlight"><pre><span class="p">{</span> <span class="err">name:</span> <span class="nt">"Waldemar"</span>
 <span class="p">,</span> <span class="err">surname:</span> <span class="nt">"Quevedo"</span>
 <span class="p">}</span>
 </pre></div>
-<h2><span class="heading-number heading-number-2">4.8 </span>PHP example</h2>
+<h2><span class="heading-number heading-number-2">4.8</span> PHP example</h2>
 <div class="highlight"><pre><span class="x">echo "Hello";</span>
 <span class="x">phpinfo();</span>
 <span class="x">var_dump(some_var);</span>
 </pre></div>
-<h2><span class="heading-number heading-number-2">4.9 </span>Elisp example</h2>
+<h2><span class="heading-number heading-number-2">4.9</span> Elisp example</h2>
 <div class="highlight"><pre><span class="p">(</span><span class="nf">defun</span> <span class="nv">hello</span><span class="p">()</span>
   <span class="p">(</span><span class="nf">interactive</span><span class="p">)</span>
   <span class="p">(</span><span class="nf">message</span> <span class="s">"hello"</span><span class="p">))</span>
 </pre></div>
-<h2><span class="heading-number heading-number-2">4.10 </span>Not supported language example</h2>
+<h2><span class="heading-number heading-number-2">4.10</span> Not supported language example</h2>
 <div class="highlight"><pre>!+!+++!++!++!++!+
 </pre></div>
diff --git a/spec/html_examples/custom-seq-todo.html b/spec/html_examples/custom-seq-todo.html
index b13fb7b..177a3c0 100644
--- a/spec/html_examples/custom-seq-todo.html
+++ b/spec/html_examples/custom-seq-todo.html
@@ -2,17 +2,17 @@
 <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>
+<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.</li>
   <li>State “WAITING”    from “”           [2009-12-29 Tue 22:25] \
     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><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>
diff --git a/spec/html_examples/custom-todo.html b/spec/html_examples/custom-todo.html
index b13fb7b..177a3c0 100644
--- a/spec/html_examples/custom-todo.html
+++ b/spec/html_examples/custom-todo.html
@@ -2,17 +2,17 @@
 <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>
+<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.</li>
   <li>State “WAITING”    from “”           [2009-12-29 Tue 22:25] \
     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><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>
diff --git a/spec/html_examples/custom-typ-todo.html b/spec/html_examples/custom-typ-todo.html
index b13fb7b..177a3c0 100644
--- a/spec/html_examples/custom-typ-todo.html
+++ b/spec/html_examples/custom-typ-todo.html
@@ -2,17 +2,17 @@
 <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>
+<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.</li>
   <li>State “WAITING”    from “”           [2009-12-29 Tue 22:25] \
     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><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>
diff --git a/spec/html_examples/export-exclude-only.html b/spec/html_examples/export-exclude-only.html
index bffdb2a..b25dea8 100644
--- a/spec/html_examples/export-exclude-only.html
+++ b/spec/html_examples/export-exclude-only.html
@@ -1,11 +1,11 @@
 <p class="title">export-headline-levels.org</p>
 <p>What happens when you exceed the number of headline levels to export?</p>
-<h1><span class="heading-number heading-number-1">1 </span>Headline 1</h1>
-<h2><span class="heading-number heading-number-2">1.1 </span>Headline 2</h2>
+<h1><span class="heading-number heading-number-1">1</span> Headline 1</h1>
+<h2><span class="heading-number heading-number-2">1.1</span> Headline 2</h2>
 <p>This bit of body <b>should</b> get exported.</p>
-<h3><span class="heading-number heading-number-3">1.1.1 </span>Headline 3</h3>
+<h3><span class="heading-number heading-number-3">1.1.1</span> Headline 3</h3>
 <p>This bit of body gets exported.</p>
-<h4><span class="heading-number heading-number-4">1.1.1.1 </span>Headline 4 (include)</h4>
+<h4><span class="heading-number heading-number-4">1.1.1.1</span> Headline 4 (include)</h4>
 <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
   nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
   erat, sed diam voluptua. At vero eos et accusam et justo duo
@@ -21,7 +21,7 @@
   voluptua. At vero eos et accusam et justo duo dolores et ea
   rebum. Stet clita kasd gubergren, no sea takimata sanctus est
   Lorem ipsum dolor sit amet.</p>
-<h3><span class="heading-number heading-number-3">1.1.2 </span>Another headline 3</h3>
+<h3><span class="heading-number heading-number-3">1.1.2</span> Another headline 3</h3>
 <p>This one <b>should not</b> get exported!!</p>
-<h4><span class="heading-number heading-number-4">1.1.2.1 </span>Another headline 4</h4>
+<h4><span class="heading-number heading-number-4">1.1.2.1</span> Another headline 4</h4>
 <p>This also <b>cannot</b> get exported!!</p>
diff --git a/spec/html_examples/export-keywords.html b/spec/html_examples/export-keywords.html
index 92da491..59c9aea 100644
--- a/spec/html_examples/export-keywords.html
+++ b/spec/html_examples/export-keywords.html
@@ -1,4 +1,4 @@
 <p class="title">export-keywords.org</p>
 <p>Testing that I can export keywords.</p>
-<h1><span class="heading-number heading-number-1">1 </span><span class="todo-keyword TODO">TODO </span>This is a todo item.</h1>
-<h1><span class="heading-number heading-number-1">2 </span><span class="todo-keyword DONE">DONE </span>this item is done!</h1>
+<h1><span class="heading-number heading-number-1">1</span> <span class="todo-keyword TODO">TODO</span> This is a todo item.</h1>
+<h1><span class="heading-number heading-number-1">2</span> <span class="todo-keyword DONE">DONE</span> this item is done!</h1>
diff --git a/spec/html_examples/export-tags.html b/spec/html_examples/export-tags.html
index ab51f4c..df343fb 100644
--- a/spec/html_examples/export-tags.html
+++ b/spec/html_examples/export-tags.html
@@ -1,10 +1,10 @@
 <p class="title">export-headline-levels.org</p>
 <p>What happens when you exceed the number of headline levels to export?</p>
-<h1><span class="heading-number heading-number-1">1 </span>Headline 1</h1>
-<h2><span class="heading-number heading-number-2">1.1 </span>Headline 2</h2>
-<h3><span class="heading-number heading-number-3">1.1.1 </span>Headline 3</h3>
+<h1><span class="heading-number heading-number-1">1</span> Headline 1</h1>
+<h2><span class="heading-number heading-number-2">1.1</span> Headline 2</h2>
+<h3><span class="heading-number heading-number-3">1.1.1</span> Headline 3</h3>
 <p>This bit of body gets exported.</p>
-<h4><span class="heading-number heading-number-4">1.1.1.1 </span>Headline 4 (include)</h4>
+<h4><span class="heading-number heading-number-4">1.1.1.1</span> Headline 4 (include)</h4>
 <p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
   nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
   erat, sed diam voluptua. At vero eos et accusam et justo duo
diff --git a/spec/html_examples/skip-header.html b/spec/html_examples/skip-header.html
index e4e1859..a00580a 100644
--- a/spec/html_examples/skip-header.html
+++ b/spec/html_examples/skip-header.html
@@ -1,3 +1,3 @@
 <p class="title">skip-header.org</p>
-<h1><span class="heading-number heading-number-1">1 </span>First heading</h1>
+<h1><span class="heading-number heading-number-1">1</span> First heading</h1>
 <p>This should be the first text in the output.</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