Skip to content

Commit bdc6eec

Browse files
committed
Update fixtures
1 parent dffd9f4 commit bdc6eec

8 files changed

+66
-51
lines changed

Diff for: test/markups/README.asciidoc.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ <h2>Another Section</h2>
5959
<p>content</p>
6060
</div>
6161
</div>
62-
</div>
62+
</div>

Diff for: test/markups/README.hidetitle.asciidoc.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<div>
22
<p>This test verifies the author can disable the document title by adding <code>:!showtitle:</code> to the document header.</p>
3-
</div>
3+
</div>

Diff for: test/markups/README.litcoffee.html

+25-25
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,37 @@ <h2>Literate CoffeeScript Test</h2>
33
<p>Taken from <a href="https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee">https://github.com/jashkenas/coffee-script/blob/master/test/literate.litcoffee</a></p>
44
</blockquote>
55
<p>comment comment</p>
6-
<pre><code>test "basic literate CoffeeScript parsing", -&gt;
7-
ok yes
8-
</code></pre>
6+
<pre><code><span>test "basic literate CoffeeScript parsing", -&gt;
7+
</span><span> ok yes
8+
</span></code></pre>
99
<p>now with a...</p>
10-
<pre><code>test "broken up indentation", -&gt;
11-
</code></pre>
10+
<pre><code><span>test "broken up indentation", -&gt;
11+
</span></code></pre>
1212
<p>... broken up ...</p>
13-
<pre><code> do -&gt;
14-
</code></pre>
13+
<pre><code><span> do -&gt;
14+
</span></code></pre>
1515
<p>... nested block.</p>
16-
<pre><code> ok yes
17-
</code></pre>
16+
<pre><code><span> ok yes
17+
</span></code></pre>
1818
<p>Code must be separated from text by a blank line.</p>
19-
<pre><code>test "code blocks must be preceded by a blank line", -&gt;
20-
</code></pre>
19+
<pre><code><span>test "code blocks must be preceded by a blank line", -&gt;
20+
</span></code></pre>
2121
<p>The next line is part of the text and will not be executed.
2222
fail()</p>
23-
<pre><code> ok yes
24-
</code></pre>
23+
<pre><code><span> ok yes
24+
</span></code></pre>
2525
<p>Code in <code>backticks is not parsed</code> and...</p>
26-
<pre><code>test "comments in indented blocks work", -&gt;
27-
do -&gt;
28-
do -&gt;
29-
# Regular comment.
30-
31-
###
32-
Block comment.
33-
###
34-
35-
ok yes
36-
</code></pre>
26+
<pre><code><span>test "comments in indented blocks work", -&gt;
27+
</span><span> do -&gt;
28+
</span><span> do -&gt;
29+
</span><span> # Regular comment.
30+
</span><span>
31+
</span><span> ###
32+
</span><span> Block comment.
33+
</span><span> ###
34+
</span><span>
35+
</span><span> ok yes
36+
</span></code></pre>
3737
<p>Regular <a href="http://example.com/markdown">Markdown</a> features,
3838
like links and unordered lists, are fine:</p>
3939
<ul>
@@ -52,4 +52,4 @@ <h2>Literate CoffeeScript Test</h2>
5252
</ul>
5353
<p>Tabs work too:</p>
5454
<p>test "tabbed code", -&gt;
55-
ok yes</p>
55+
ok yes</p>

Diff for: test/markups/README.org.html

+23-12
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,17 @@ <h1>org-ruby</h1>
1313
<td>0.9.0</td>
1414
</tr>
1515
</table>
16-
<h1>1 Description</h1>
16+
<h1>
17+
<span>1</span> Description</h1>
1718
<p>Helpful Ruby routines for parsing orgmode files. The most
1819
significant thing this library does today is convert orgmode files
1920
to textile. Currently, you cannot do much to customize the
2021
conversion. The supplied textile conversion is optimized for
2122
extracting “content” from the orgfile as opposed to “metadata.”</p>
22-
<h1>2 History</h1>
23-
<h2>2.1 2014-02-08: Version 0.9.0</h2>
23+
<h1>
24+
<span>2</span> History</h1>
25+
<h2>
26+
<span>2.1</span> 2014-02-08: Version 0.9.0</h2>
2427
<ul>
2528
<li>Let’s make sure <code>#+INCLUDE:</code> is not supported</li>
2629
</ul>
@@ -35,13 +38,15 @@ <h2>2.1 2014-02-08: Version 0.9.0</h2>
3538
end
3639
end
3740
</pre>
38-
<h2>2.2 2009-12-30: Version 0.5.1</h2>
41+
<h2>
42+
<span>2.2</span> 2009-12-30: Version 0.5.1</h2>
3943
<ul>
4044
<li>Minor enhancement: Recognize lines starting with “:” as examples.</li>
4145
<li>Minor enhancement: Recognize #+BEGIN_SRC as source blocks</li>
4246
<li>Minor enhancement: Add “src” and “example” classes to &lt;pre&gt; blocks.</li>
4347
</ul>
44-
<h2>2.3 2009-12-30: Version 0.5.0</h2>
48+
<h2>
49+
<span>2.3</span> 2009-12-30: Version 0.5.0</h2>
4550
<ul>
4651
<li>Parse (but not necessarily <b>use</b>) in-buffer settings. The following
4752
in-buffer settings <b>are</b> used:
@@ -65,7 +70,8 @@ <h2>2.3 2009-12-30: Version 0.5.0</h2>
6570
</ul>
6671
</li>
6772
</ul>
68-
<h2>2.4 2009-12-29: Version 0.4.2</h2>
73+
<h2>
74+
<span>2.4</span> 2009-12-29: Version 0.4.2</h2>
6975
<ul>
7076
<li>Got rid of the extraneous newline at the start of code blocks.</li>
7177
<li>Everything now shows up in code blocks, even org-mode metadata.</li>
@@ -76,12 +82,14 @@ <h2>2.4 2009-12-29: Version 0.4.2</h2>
7682
</ul>
7783
</li>
7884
</ul>
79-
<h2>2.5 2009-12-29: Version 0.4.1</h2>
85+
<h2>
86+
<span>2.5</span> 2009-12-29: Version 0.4.1</h2>
8087
<ul>
8188
<li>HTML is now escaped by default</li>
8289
<li>org-mode comments will show up in a code block.</li>
8390
</ul>
84-
<h2>2.6 2009-12-29: Version 0.4</h2>
91+
<h2>
92+
<span>2.6</span> 2009-12-29: Version 0.4</h2>
8593
<ul>
8694
<li>The first thing output in HTML gets the class “title”</li>
8795
<li>HTML output is now indented</li>
@@ -94,7 +102,8 @@ <h2>2.6 2009-12-29: Version 0.4</h2>
94102
</ul>
95103
</li>
96104
</ul>
97-
<h2>2.7 2009-12-27: Version 0.3</h2>
105+
<h2>
106+
<span>2.7</span> 2009-12-27: Version 0.3</h2>
98107
<ul>
99108
<li>Uses rubypants to get better typography (smart quotes, ellipses, etc…).</li>
100109
<li>Fixed bugs:
@@ -105,14 +114,16 @@ <h2>2.7 2009-12-27: Version 0.3</h2>
105114
</ul>
106115
</li>
107116
</ul>
108-
<h2>2.8 2009-12-26: Version 0.2</h2>
117+
<h2>
118+
<span>2.8</span> 2009-12-26: Version 0.2</h2>
109119
<ul>
110120
<li>Added <code>to_html</code> output on the parser.</li>
111121
<li>Added support for the full range of inline markup: <b>bold</b>,
112-
<i>italic</i>, <code>code</code>, <code>verbatim</code>, underline, <del>strikethrough</del>.</li>
122+
<i>italic</i>, <code>code</code>, <code>verbatim</code>, <span>underline</span>, <del>strikethrough</del>.</li>
113123
<li>Lots of refactoring to make the code more maintainable.</li>
114124
</ul>
115-
<h2>2.9 2009-12-23: Version 0.1</h2>
125+
<h2>
126+
<span>2.9</span> 2009-12-23: Version 0.1</h2>
116127
<ul>
117128
<li>Added support for block code, like this:
118129
<pre>

Diff for: test/markups/README.pod.html

+8-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ <h2>ABOUT</h2>
1010

1111
<ul>
1212

13-
<li><p>Create a working compiler that understands the majority of the MATLAB/Octave programming language.</p>
13+
<li>
14+
<p>Create a working compiler that understands the majority of the MATLAB/Octave programming language.</p>
1415

1516
</li>
1617
</ul>
@@ -21,13 +22,16 @@ <h2>IMPLEMENTATION</h2>
2122

2223
<ul>
2324

24-
<li><p>The first is the parser, located in the <code>src/parser/</code> directory. The parser proper is composed of three source files, <i>grammar.pg</i> which is a Perl6Grammar file, and <i>actions.pm</i> which is the associated actions file written in NQP, and <i>grammar-oper.pm</i> which is the operator precedence parser. In addition, several helper functions used by the parser are located in <code>src/internals</code>.</p>
25+
<li>
26+
<p>The first is the parser, located in the <code>src/parser/</code> directory. The parser proper is composed of three source files, <i>grammar.pg</i> which is a Perl6Grammar file, and <i>actions.pm</i> which is the associated actions file written in NQP, and <i>grammar-oper.pm</i> which is the operator precedence parser. In addition, several helper functions used by the parser are located in <code>src/internals</code>.</p>
2527

2628
</li>
27-
<li><p>The second component is the library of builtin functions in the <code>src/builtins/</code> directory. These functions are, currently, written primarily in PIR. Function names prefixed with an underscore are &quot;private&quot; functions for use with the parser. Other functions should have names which are the same as names for regular MATLAB or Octave functions, since they will be available to the HLL. These are also separated into different namespaces depending on visibility and utility.</p>
29+
<li>
30+
<p>The second component is the library of builtin functions in the <code>src/builtins/</code> directory. These functions are, currently, written primarily in PIR. Function names prefixed with an underscore are "private" functions for use with the parser. Other functions should have names which are the same as names for regular MATLAB or Octave functions, since they will be available to the HLL. These are also separated into different namespaces depending on visibility and utility.</p>
2831

2932
</li>
30-
<li><p>A number of library functions are written in M, or mostly M with some inline PIR code in <code>toolbox/</code>.</p>
33+
<li>
34+
<p>A number of library functions are written in M, or mostly M with some inline PIR code in <code>toolbox/</code>.</p>
3135

3236
</li>
3337
</ul>

Diff for: test/markups/README.rst.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ <h1>Header 1</h1>
22
<h2>Subtitle</h2>
33
<p>Example text.</p>
44
<div>
5-
<p>Table of Contents</p>
5+
<p><a href="#top">Table of Contents</a></p>
66
<ul>
77
<li><a href="#header-2">Header 2</a></li>
88
<li><a href="#field-list">Field list</a></li>
@@ -17,7 +17,7 @@ <h2><a href="#toc-entry-1">Header 2</a></h2>
1717
</ol>
1818
<p>The UTF-8 quote character in this table used to cause python to go boom. Now docutils just silently ignores it.</p>
1919
<table>
20-
Things that are Awesome (on a scale of 1-11)
20+
<caption>Things that are Awesome (on a scale of 1-11)</caption>
2121

2222

2323

@@ -102,7 +102,8 @@ <h2><a href="#toc-entry-1">Header 2</a></h2>
102102
</tr>
103103
</tbody>
104104
</table>
105-
<a href="https://scan.coverity.com/projects/621"><img alt="Coverity Scan Build Status" src="https://scan.coverity.com/projects/621/badge.svg">
105+
<a href="https://scan.coverity.com/projects/621">
106+
<img alt="Coverity Scan Build Status" src="https://scan.coverity.com/projects/621/badge.svg">
106107
</a>
107108
<img alt="Coverity Scan Build Status" src="https://scan.coverity.com/projects/621/badge.svg">
108109
<a name="field-list"></a>
@@ -133,5 +134,4 @@ <h2><a href="#toc-entry-2">Field list</a></h2>
133134
</table>
134135
<p><a href="mailto:[email protected]">[email protected]</a></p>
135136
<p>Press <kbd>Ctrl+C</kbd> to quit</p>
136-
137-
<p><strong>RAW HTML!</strong></p> p {color:blue;}
137+
<p><strong>RAW HTML!</strong></p> p {color:blue;}

Diff for: test/markups/README.toc.asciidoc.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ <h3>Subsection B-2</h3>
4343

4444
</div>
4545
</div>
46-
</div>
46+
</div>

Diff for: test/markups/README.toc.rst.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div>
2-
<p>Contents</p>
2+
<p><a href="#top">Contents</a></p>
33
<ul>
44
<li>
55
<a href="#introduction">1   Introduction</a><ul>
@@ -29,4 +29,4 @@ <h3>1.2   What is it good for?</h3>
2929
</ul>
3030
<p><strong>pycparser</strong> is unique in the sense that it's written in pure Python - a very
3131
high level language that's easy to experiment with and tweak. To people familiar
32-
with Lex and Yacc, <strong>pycparser</strong>'s code will be simple to understand.</p>
32+
with Lex and Yacc, <strong>pycparser</strong>'s code will be simple to understand.</p>

0 commit comments

Comments
 (0)