[DRE-commits] [ruby-org] 213/303: Code syntax highlight 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 7d7a2d3ade08bf69297dd66241d9c6e1020ecb6a
Author: vonavi <ivvl82 at gmail.com>
Date:   Thu Dec 20 06:00:41 2012 +0200

    Code syntax highlight examples corrected.
---
 .../advanced-code-coderay.html                     |   68 ++++++++++-----
 .../advanced-code-no-color.html                    |   35 +++++---
 .../advanced-code-pygments.html                    |   91 ++++++++++++++------
 .../code-coderay.html                              |    3 +-
 .../code-no-color.html                             |    9 +-
 .../code-pygments.html                             |   12 ++-
 .../src-code-list-coderay.html                     |   29 ++++---
 .../src-code-list-no-color.html                    |   29 ++++---
 .../src-code-list-pygments.html                    |   28 +++---
 9 files changed, 200 insertions(+), 104 deletions(-)

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 93fe823..b2818e4 100644
--- a/spec/html_code_syntax_highlight_examples/advanced-code-coderay.html
+++ b/spec/html_code_syntax_highlight_examples/advanced-code-coderay.html
@@ -1,7 +1,11 @@
-<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>
-<p>This should work:</p>
+<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>
+<p>This should work:
+</p>
 <pre class="example">
   fixed width? how does this work?   
                         ...........
@@ -13,9 +17,12 @@
                            .  .
                            ....
 </pre>
-<p>Two ASCII blobs.</p>
-<h1><span class="heading-number heading-number-1">2 </span>BEGIN_SRC</h1>
-<p>And this:</p>
+<p>Two ASCII blobs.
+</p>
+<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>
     <span style="color:#777"># Supply a block that will get the marker and body as parameters.</span>
@@ -25,7 +32,8 @@
       <span style="color:#080;font-weight:bold">end</span>
     <span style="color:#080;font-weight:bold">end</span>
 </pre>
-<p>Now let’s test case-insensitive code blocks.</p>
+<p>Now let’s test case-insensitive code blocks.
+</p>
 <pre class="src src-ruby">
     <span style="color:#777"># Finds all emphasis matches in a string.</span>
     <span style="color:#777"># Supply a block that will get the marker and body as parameters.</span>
@@ -45,13 +53,18 @@
 user> (<span style="color:#080;font-weight:bold">take</span> <span style="color:#00D">20</span> fib-seq)
 (<span style="color:#00D">0</span> <span style="color:#00D">1</span> <span style="color:#00D">1</span> <span style="color:#00D">2</span> <span style="color:#00D">3</span> <span style="color:#00D">5</span> <span style="color:#00D">8</span> <span style="color:#00D">13</span> <span style="color:#00D">21</span> <span style="color:#00D">34</span> <span style="color:#00D">55</span> <span style="color:#00D">89</span> <span style="color:#00D">144</span> <span style="color:#00D">233</span> <span  [...]
 </pre>
-<p>Even if no language is set, it is still wrapped in code tags but class is empty.</p>
+<p>Even if no language is set, it is still wrapped in code tags but class is empty.
+</p>
 <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 best things in the world!</p>
+  <p>I really love to write about
+:symbols. They sure are the
+best things in the world!
+  </p>
 </blockquote>
 <pre class="src src-ruby">
 {
@@ -67,12 +80,15 @@ 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>
@@ -81,7 +97,8 @@ 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>
@@ -92,7 +109,8 @@ 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>
@@ -100,14 +118,16 @@ 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>;
 
@@ -121,25 +141,29 @@ 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 f52581c..3b730ef 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,7 +1,11 @@
-<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>
-<p>This should work:</p>
+<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>
+<p>This should work:
+</p>
 <pre class="example">
   fixed width? how does this work?   
                         ...........
@@ -13,9 +17,12 @@
                            .  .
                            ....
 </pre>
-<p>Two ASCII blobs.</p>
-<h1><span class="heading-number heading-number-1">2 </span>BEGIN_SRC</h1>
-<p>And this:</p>
+<p>Two ASCII blobs.
+</p>
+<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.
     # Supply a block that will get the marker and body as parameters.
@@ -25,7 +32,8 @@
       end
     end
 </pre>
-<p>Now let’s test case-insensitive code blocks.</p>
+<p>Now let’s test case-insensitive code blocks.
+</p>
 <pre class="src src-ruby">
     # Finds all emphasis matches in a string.
     # Supply a block that will get the marker and body as parameters.
@@ -45,13 +53,18 @@
 user> (take 20 fib-seq)
 (0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181)
 </pre>
-<p>Even if no language is set, it is still wrapped in code tags but class is empty.</p>
+<p>Even if no language is set, it is still wrapped in code tags but class is empty.
+</p>
 <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 best things in the world!</p>
+  <p>I really love to write about
+:symbols. They sure are the
+best things in the world!
+  </p>
 </blockquote>
 <pre class="src src-ruby">
 {
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 3bf9117..2dcfc23 100644
--- a/spec/html_code_syntax_highlight_examples/advanced-code-pygments.html
+++ b/spec/html_code_syntax_highlight_examples/advanced-code-pygments.html
@@ -1,7 +1,11 @@
-<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>
-<p>This should work:</p>
+<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>
+<p>This should work:
+</p>
 <pre class="example">
   fixed width? how does this work?   
                         ...........
@@ -13,9 +17,12 @@
                            .  .
                            ....
 </pre>
-<p>Two ASCII blobs.</p>
-<h1><span class="heading-number heading-number-1">2 </span>BEGIN_SRC</h1>
-<p>And this:</p>
+<p>Two ASCII blobs.
+</p>
+<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>
     <span class="k">def</span> <span class="nf">match_all</span><span class="p">(</span><span class="n">str</span><span class="p">)</span>
@@ -23,7 +30,9 @@
         <span class="k">yield</span> <span class="vg">$2</span><span class="p">,</span> <span class="vg">$3</span>
       <span class="k">end</span>
     <span class="k">end</span>
-</pre></div><p>Now let’s test case-insensitive code blocks.</p>
+</pre></div>
+<p>Now let’s test case-insensitive code blocks.
+</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>
     <span class="k">def</span> <span class="nf">match_all</span><span class="p">(</span><span class="n">str</span><span class="p">)</span>
@@ -31,7 +40,8 @@
         <span class="k">yield</span> <span class="vg">$2</span><span class="p">,</span> <span class="vg">$3</span>
       <span class="k">end</span>
     <span class="k">end</span>
-</pre></div><div class="highlight"><pre><span class="p">(</span><span class="k">def </span><span class="nv">fib-seq</span>
+</pre></div>
+<div class="highlight"><pre><span class="p">(</span><span class="k">def </span><span class="nv">fib-seq</span>
   <span class="p">(</span><span class="nf">concat</span>
    <span class="p">[</span><span class="mi">0</span> <span class="mi">1</span><span class="p">]</span>
    <span class="p">((</span><span class="k">fn </span><span class="nv">rfib</span> <span class="p">[</span><span class="nv">a</span> <span class="nv">b</span><span class="p">]</span>
@@ -39,33 +49,48 @@
  
 <span class="nv">user></span> <span class="p">(</span><span class="nb">take </span><span class="mi">20</span> <span class="nv">fib-seq</span><span class="p">)</span>
 <span class="p">(</span><span class="mi">0</span> <span class="mi">1</span> <span class="mi">1</span> <span class="mi">2</span> <span class="mi">3</span> <span class="mi">5</span> <span class="mi">8</span> <span class="mi">13</span> <span class="mi">21</span> <span class="mi">34</span> <span class="mi">55</span> <span class="mi">89</span> <span class="mi">144</span> <span class="mi">233</span> <span class="mi">377</span> <span class="mi">610</span> <span class="mi">987</span> <span class [...]
-</pre></div><p>Even if no language is set, it is still wrapped in code tags but class is empty.</p>
+</pre></div>
+<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>
+</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>
 <blockquote>
-  <p>I really love to write about :symbols. They sure are the best things in the world!</p>
+  <p>I really love to write about
+:symbols. They sure are the
+best things in the world!
+  </p>
 </blockquote>
 <div class="highlight"><pre><span class="p">{</span>
 <span class="ss">:one</span> <span class="o">=></span> <span class="mi">1</span><span class="p">,</span>
 <span class="ss">:two</span> <span class="o">=></span> <span class="mi">2</span>
 <span class="p">}</span>
-</pre></div><div class="highlight"><pre><span class="p">(</span><span class="kd">defproject </span><span class="nv">helloworld</span> <span class="s">"0.1"</span>
+</pre></div>
+<div class="highlight"><pre><span class="p">(</span><span class="kd">defproject </span><span class="nv">helloworld</span> <span class="s">"0.1"</span>
 <span class="ss">:dependencies</span> <span class="p">[[</span><span class="nv">org.clojure/clojure</span>
                  <span class="s">"1.1.0-master-SNAPSHOT"</span><span class="p">]</span>
               <span class="p">[</span><span class="nv">org.clojure/clojure-contrib</span>
                  <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>
+</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>
 <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>
+</pre></div>
+<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> 
   <span class="o">-</span><span class="n">moz</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="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>
+</pre></div>
+<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>
@@ -74,18 +99,24 @@
     <span class="nt"><h1></span>Hello<span class="nt"></h1></span>
   <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>
-<div class="highlight"><pre><span class="k">class</span> <span class="nc">Post</span> <span class="o"><<</span> <span class="no">ActiveRecord</span><span class="o">::</span><span class="no">Base</span>
+</pre></div>
+<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>
+</pre></div>
+<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>
+</pre></div>
+<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>
@@ -97,18 +128,26 @@
 <span class="p">};</span>
 
 <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>
+</pre></div>
+<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>
+</pre></div>
+<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>
+</pre></div>
+<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>
+</pre></div>
+<h2><span class="heading-number heading-number-2">4.10 </span>Not supported language example
+</h2>
 <div class="highlight"><pre>!+!+++!++!++!++!+
-</pre></div>
\ No newline at end of file
+</pre></div>
diff --git a/spec/html_code_syntax_highlight_examples/code-coderay.html b/spec/html_code_syntax_highlight_examples/code-coderay.html
index 609c6b0..33d1bec 100644
--- a/spec/html_code_syntax_highlight_examples/code-coderay.html
+++ b/spec/html_code_syntax_highlight_examples/code-coderay.html
@@ -1,4 +1,5 @@
-<h1 class="title">Simple Code Syntax highlighting test</h1>
+<h1 class="title">Simple Code Syntax highlighting test
+</h1>
 <pre class="src src-ruby">
 <span style="color:#080;font-weight:bold">class</span> <span style="color:#B06;font-weight:bold">Coderay</span>
   <span style="color:#080;font-weight:bold">class</span> << <span style="color:#B06;font-weight:bold">self</span>
diff --git a/spec/html_code_syntax_highlight_examples/code-no-color.html b/spec/html_code_syntax_highlight_examples/code-no-color.html
index c622b8d..7d52ece 100644
--- a/spec/html_code_syntax_highlight_examples/code-no-color.html
+++ b/spec/html_code_syntax_highlight_examples/code-no-color.html
@@ -1,4 +1,5 @@
-<h1 class="title">Simple Code Syntax highlighting test</h1>
+<h1 class="title">Simple Code Syntax highlighting test
+</h1>
 <pre class="src src-ruby">
 class Pygments
   class << self
@@ -11,13 +12,15 @@ EOF
   end
 end
 </pre>
-<p>Now using EXAMPLE blocks instead:</p>
+<p>Now using EXAMPLE blocks instead:
+</p>
 <pre class="example">
 def hello()
   puts "hello"
 end
 </pre>
-<p>Small case should work as well:</p>
+<p>Small case should work as well:
+</p>
 <pre class="example">
 class Hello
   def say
diff --git a/spec/html_code_syntax_highlight_examples/code-pygments.html b/spec/html_code_syntax_highlight_examples/code-pygments.html
index ad4a343..804cb80 100644
--- a/spec/html_code_syntax_highlight_examples/code-pygments.html
+++ b/spec/html_code_syntax_highlight_examples/code-pygments.html
@@ -1,4 +1,5 @@
-<h1 class="title">Simple Code Syntax highlighting test</h1>
+<h1 class="title">Simple Code Syntax highlighting test
+</h1>
 <div class="highlight"><pre><span class="k">class</span> <span class="nc">Pygments</span>
   <span class="k">class</span> <span class="o"><<</span> <span class="nb">self</span>
     <span class="k">def</span> <span class="nf">colorize</span>
@@ -9,13 +10,16 @@
     <span class="k">end</span>
   <span class="k">end</span>
 <span class="k">end</span>
-</pre></div><p>Now using EXAMPLE blocks instead:</p>
+</pre></div>
+<p>Now using EXAMPLE blocks instead:
+</p>
 <pre class="example">
 def hello()
   puts "hello"
 end
 </pre>
-<p>Small case should work as well:</p>
+<p>Small case should work as well:
+</p>
 <pre class="example">
 class Hello
   def say
@@ -28,4 +32,4 @@ end
   <span class="c1"># TODO</span>
   <span class="k">end</span>
 <span class="k">end</span>
-</pre></div>
\ No newline at end of file
+</pre></div>
diff --git a/spec/html_code_syntax_highlight_examples/src-code-list-coderay.html b/spec/html_code_syntax_highlight_examples/src-code-list-coderay.html
index f21df9e..9ddd20b 100644
--- a/spec/html_code_syntax_highlight_examples/src-code-list-coderay.html
+++ b/spec/html_code_syntax_highlight_examples/src-code-list-coderay.html
@@ -1,27 +1,30 @@
-<h1 class="title">begin src in lists should work</h1>
+<h1 class="title">begin src in lists should work
+</h1>
 <ul>
   <li>Foo
-  <pre class="src src-ruby">
+    <pre class="src src-ruby">
     <span style="color:#080;font-weight:bold">class</span> <span style="color:#B06;font-weight:bold">Hello</span>
       <span style="color:#080;font-weight:bold">def</span> <span style="color:#06B;font-weight:bold">say</span>
         puts <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">'</span><span style="color:#D20">cheers</span><span style="color:#710">'</span></span>
       <span style="color:#080;font-weight:bold">end</span>
     <span style="color:#080;font-weight:bold">end</span>
-  </pre>
+    </pre>
   </li>
   <li>Bar
-  <pre class="src src-ruby">
+    <pre class="src src-ruby">
     puts <span style="background-color:hsla(0,100%,50%,0.05)"><span style="color:#710">"</span><span style="color:#D20">This should not get lumped into the above line Example</span><span style="color:#710">"</span></span>
-  </pre>
-  <p>A paragraph should go here.</p>
-  <ul>
-    <li>A sublist goes here with another example
-    <pre class="src src-sh">
-      echo "Hello"
     </pre>
-    <p>And this is a paragraph</p>
-    </li>
-  </ul>
+    <p>A paragraph should go here.
+    </p>
+    <ul>
+      <li>A sublist goes here with another example
+        <pre class="src src-sh">
+      echo "Hello"
+        </pre>
+        <p>And this is a paragraph
+        </p>
+      </li>
+    </ul>
   </li>
   <li>Hello
   </li>
diff --git a/spec/html_code_syntax_highlight_examples/src-code-list-no-color.html b/spec/html_code_syntax_highlight_examples/src-code-list-no-color.html
index 6d7489c..78b8756 100644
--- a/spec/html_code_syntax_highlight_examples/src-code-list-no-color.html
+++ b/spec/html_code_syntax_highlight_examples/src-code-list-no-color.html
@@ -1,27 +1,30 @@
-<h1 class="title">begin src in lists should work</h1>
+<h1 class="title">begin src in lists should work
+</h1>
 <ul>
   <li>Foo
-  <pre class="src src-ruby">
+    <pre class="src src-ruby">
     class Hello
       def say
         puts 'cheers'
       end
     end
-  </pre>
+    </pre>
   </li>
   <li>Bar
-  <pre class="src src-ruby">
+    <pre class="src src-ruby">
     puts "This should not get lumped into the above line Example"
-  </pre>
-  <p>A paragraph should go here.</p>
-  <ul>
-    <li>A sublist goes here with another example
-    <pre class="src src-sh">
-      echo "Hello"
     </pre>
-    <p>And this is a paragraph</p>
-    </li>
-  </ul>
+    <p>A paragraph should go here.
+    </p>
+    <ul>
+      <li>A sublist goes here with another example
+        <pre class="src src-sh">
+      echo "Hello"
+        </pre>
+        <p>And this is a paragraph
+        </p>
+      </li>
+    </ul>
   </li>
   <li>Hello
   </li>
diff --git a/spec/html_code_syntax_highlight_examples/src-code-list-pygments.html b/spec/html_code_syntax_highlight_examples/src-code-list-pygments.html
index f74710b..b9100f1 100644
--- a/spec/html_code_syntax_highlight_examples/src-code-list-pygments.html
+++ b/spec/html_code_syntax_highlight_examples/src-code-list-pygments.html
@@ -1,21 +1,27 @@
-<h1 class="title">begin src in lists should work</h1>
+<h1 class="title">begin src in lists should work
+</h1>
 <ul>
   <li>Foo
-  <div class="highlight"><pre>    <span class="k">class</span> <span class="nc">Hello</span>
+<div class="highlight"><pre>    <span class="k">class</span> <span class="nc">Hello</span>
       <span class="k">def</span> <span class="nf">say</span>
         <span class="nb">puts</span> <span class="s1">'cheers'</span>
       <span class="k">end</span>
     <span class="k">end</span>
-</pre></div>    </li>
+</pre></div>
+  </li>
   <li>Bar
-  <div class="highlight"><pre>    <span class="nb">puts</span> <span class="s2">"This should not get lumped into the above line Example"</span>
-</pre></div>    <p>A paragraph should go here.</p>
-  <ul>
-    <li>A sublist goes here with another example
-    <div class="highlight"><pre>      <span class="nb">echo</span> <span class="s2">"Hello"</span>
-</pre></div>        <p>And this is a paragraph</p>
-    </li>
-  </ul>
+<div class="highlight"><pre>    <span class="nb">puts</span> <span class="s2">"This should not get lumped into the above line Example"</span>
+</pre></div>
+    <p>A paragraph should go here.
+    </p>
+    <ul>
+      <li>A sublist goes here with another example
+<div class="highlight"><pre>      <span class="nb">echo</span> <span class="s2">"Hello"</span>
+</pre></div>
+        <p>And this is a paragraph
+        </p>
+      </li>
+    </ul>
   </li>
   <li>Hello
   </li>

-- 
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