Skip to content

Commit

Permalink
Updated test expectations (TODO - go learn more about LaTeX to ensure…
Browse files Browse the repository at this point in the history
… this is actually correct)
  • Loading branch information
CloCkWeRX authored and yunosh committed Sep 1, 2017
1 parent 16cc24f commit 8c57af5
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions tests/Latex_Render_Url.phpt
Expand Up @@ -4,16 +4,20 @@ Text_Wiki_Latex_Render_Url
<?php
require_once 'Text/Wiki/Creole.php';
$w = new Text_Wiki_Creole(array('Url'));
var_dump($w->transform('
print $w->transform('
[[http://www.example.com/page|An example page]]
[[http://www.example.com/page]]
http://www.example.com/page
', 'Latex'));
', 'Latex');
?>
--EXPECT--
string(148) "
\documentclass{article}
\usepackage{ulem}
\pagestyle{headings}
\begin{document}

An example page\footnote{http://www.example.com/page}
\footnote{http://www.example.com/page}
\footnote{http://www.example.com/page}
http://www.example.com/page\footnote{http://www.example.com/page}
http://www.example.com/page\footnote{http://www.example.com/page}
\end{document}
"

0 comments on commit 8c57af5

Please sign in to comment.