convert test files to unix format, fix a few broken ones

This commit is contained in:
Russ Ross 2011-06-10 09:41:00 -06:00
parent 1e40ebaf47
commit 9ffeaf98a8
46 changed files with 1903 additions and 1903 deletions

View File

@ -58,10 +58,10 @@ func main() {
html_flags |= blackfriday.HTML_SMARTYPANTS_LATEX_DASHES
// render the data into HTML (comment this out to deselect HTML)
renderer := blackfriday.HtmlRenderer(html_flags)
renderer := blackfriday.HtmlRenderer(html_flags)
// render the data into LaTeX (uncomment to select LaTeX)
//renderer := blackfriday.LatexRenderer(0)
// render the data into LaTeX (uncomment to select LaTeX)
//renderer := blackfriday.LatexRenderer(0)
output := blackfriday.Markdown(input, renderer, extensions)

0
upskirtref/Amps and angle encoding.text Executable file → Normal file
View File

View File

0
upskirtref/Auto links.text Executable file → Normal file
View File

0
upskirtref/Backslash escapes.text Executable file → Normal file
View File

0
upskirtref/Blockquotes with code blocks.text Executable file → Normal file
View File

0
upskirtref/Code Blocks.text Executable file → Normal file
View File

View File

0
upskirtref/Code Spans.text Executable file → Normal file
View File

View File

0
upskirtref/Horizontal rules.text Executable file → Normal file
View File

0
upskirtref/Inline HTML (Advanced).text Executable file → Normal file
View File

0
upskirtref/Inline HTML (Simple).text Executable file → Normal file
View File

0
upskirtref/Inline HTML comments.text Executable file → Normal file
View File

0
upskirtref/Links, inline style.text Executable file → Normal file
View File

0
upskirtref/Links, reference style.text Executable file → Normal file
View File

0
upskirtref/Links, shortcut references.text Executable file → Normal file
View File

0
upskirtref/Literal quotes in titles.text Executable file → Normal file
View File

0
upskirtref/Markdown Documentation - Basics.text Executable file → Normal file
View File

View File

@ -9,36 +9,36 @@
</ul>
<ul>
<li> <a href="#overview">Overview</a>
<li><a href="#overview">Overview</a>
<ul>
<li> <a href="#philosophy">Philosophy</a></li>
<li> <a href="#html">Inline HTML</a></li>
<li> <a href="#autoescape">Automatic Escaping for Special Characters</a></li>
<li><a href="#philosophy">Philosophy</a></li>
<li><a href="#html">Inline HTML</a></li>
<li><a href="#autoescape">Automatic Escaping for Special Characters</a></li>
</ul></li>
<li> <a href="#block">Block Elements</a>
<li><a href="#block">Block Elements</a>
<ul>
<li> <a href="#p">Paragraphs and Line Breaks</a></li>
<li> <a href="#header">Headers</a></li>
<li> <a href="#blockquote">Blockquotes</a></li>
<li> <a href="#list">Lists</a></li>
<li> <a href="#precode">Code Blocks</a></li>
<li> <a href="#hr">Horizontal Rules</a></li>
<li><a href="#p">Paragraphs and Line Breaks</a></li>
<li><a href="#header">Headers</a></li>
<li><a href="#blockquote">Blockquotes</a></li>
<li><a href="#list">Lists</a></li>
<li><a href="#precode">Code Blocks</a></li>
<li><a href="#hr">Horizontal Rules</a></li>
</ul></li>
<li> <a href="#span">Span Elements</a>
<li><a href="#span">Span Elements</a>
<ul>
<li> <a href="#link">Links</a></li>
<li> <a href="#em">Emphasis</a></li>
<li> <a href="#code">Code</a></li>
<li> <a href="#img">Images</a></li>
<li><a href="#link">Links</a></li>
<li><a href="#em">Emphasis</a></li>
<li><a href="#code">Code</a></li>
<li><a href="#img">Images</a></li>
</ul></li>
<li> <a href="#misc">Miscellaneous</a>
<li><a href="#misc">Miscellaneous</a>
<ul>
<li> <a href="#backslash">Backslash Escapes</a></li>
<li> <a href="#autolink">Automatic Links</a></li>
<li><a href="#backslash">Backslash Escapes</a></li>
<li><a href="#autolink">Automatic Links</a></li>
</ul></li>
</ul>
@ -618,12 +618,12 @@ on a line by itself:</p>
<p>That is:</p>
<ul>
<li> Square brackets containing the link identifier (optionally
<li>Square brackets containing the link identifier (optionally
indented from the left margin using up to three spaces);</li>
<li> followed by a colon;</li>
<li> followed by one or more spaces (or tabs);</li>
<li> followed by the URL for the link;</li>
<li> optionally followed by a title attribute for the link, enclosed
<li>followed by a colon;</li>
<li>followed by one or more spaces (or tabs);</li>
<li>followed by the URL for the link;</li>
<li>optionally followed by a title attribute for the link, enclosed
in double or single quotes.</li>
</ul>
@ -856,10 +856,10 @@ for links, allowing for two styles: <em>inline</em> and <em>reference</em>.</p>
<p>That is:</p>
<ul>
<li> An exclamation mark: <code>!</code>;</li>
<li> followed by a set of square brackets, containing the <code>alt</code>
<li>An exclamation mark: <code>!</code>;</li>
<li>followed by a set of square brackets, containing the <code>alt</code>
attribute text for the image;</li>
<li> followed by a set of parentheses, containing the URL or path to
<li>followed by a set of parentheses, containing the URL or path to
the image, and an optional <code>title</code> attribute enclosed in double
or single quotes.</li>
</ul>

0
upskirtref/Markdown Documentation - Syntax.text Executable file → Normal file
View File

0
upskirtref/Nested blockquotes.text Executable file → Normal file
View File

View File

@ -3,9 +3,9 @@
<p>Asterisks tight:</p>
<ul>
<li> asterisk 1</li>
<li> asterisk 2</li>
<li> asterisk 3</li>
<li>asterisk 1</li>
<li>asterisk 2</li>
<li>asterisk 3</li>
</ul>
<p>Asterisks loose:</p>
@ -21,9 +21,9 @@
<p>Pluses tight:</p>
<ul>
<li> Plus 1</li>
<li> Plus 2</li>
<li> Plus 3</li>
<li>Plus 1</li>
<li>Plus 2</li>
<li>Plus 3</li>
</ul>
<p>Pluses loose:</p>
@ -39,9 +39,9 @@
<p>Minuses tight:</p>
<ul>
<li> Minus 1</li>
<li> Minus 2</li>
<li> Minus 3</li>
<li>Minus 1</li>
<li>Minus 2</li>
<li>Minus 3</li>
</ul>
<p>Minuses loose:</p>
@ -57,9 +57,9 @@
<p>Tight:</p>
<ol>
<li> First</li>
<li> Second</li>
<li> Third</li>
<li>First</li>
<li>Second</li>
<li>Third</li>
</ol>
<p>and:</p>
@ -100,13 +100,13 @@ back.</p></li>
<h2>Nested</h2>
<ul>
<li> Tab
<li>Tab
<ul>
<li> Tab
<li>Tab
<ul>
<li> Tab</li>
<li>Tab</li>
</ul></li>
</ul></li>
</ul>
@ -145,7 +145,7 @@ back.</p></li>
<li><p>this</p>
<ul>
<li> sub</li>
<li>sub</li>
</ul>
<p>that</p></li>

0
upskirtref/Ordered and unordered lists.text Executable file → Normal file
View File

0
upskirtref/Strong and em together.text Executable file → Normal file
View File

View File

0
upskirtref/Tabs.text Executable file → Normal file
View File

View File

0
upskirtref/Tidyness.text Executable file → Normal file
View File

View File

@ -35,7 +35,7 @@ func doFileTests(t *testing.T, files []string) {
t.Errorf("Couldn't open '%s', error: %v\n", fn, err)
continue
}
fn = filepath.Join("upskirtref", basename+"_upskirt_ref.html")
fn = filepath.Join("upskirtref", basename+".html")
expecteddata, err := ioutil.ReadFile(fn)
if err != nil {
t.Errorf("Couldn't open '%s', error: %v\n", fn, err)