Skip to content

Commit

Permalink
Updating footnote test cases for the addition of the Unicode variant …
Browse files Browse the repository at this point in the history
…selector in backlinks.
  • Loading branch information
michelf committed Oct 17, 2015
1 parent 984af1a commit 10b3c7c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Implementations/php-markdown.phplib
24 changes: 12 additions & 12 deletions PHP Markdown Extra.mdtest/Footnotes.xhtml
Expand Up @@ -35,33 +35,33 @@ footnote test<sup id="fnref:reference"><a href="#fn:reference" class="footnote-r
<ol> <ol>


<li id="fn:first"> <li id="fn:first">
<p>This is the first note.&#160;<a href="#fnref:first" class="footnote-backref">&#8617;</a></p> <p>This is the first note.&#160;<a href="#fnref:first" class="footnote-backref">&#8617;&#xFE0E;</a></p>
</li> </li>


<li id="fn:second"> <li id="fn:second">
<p>This is the second note.&#160;<a href="#fnref:second" class="footnote-backref">&#8617;</a></p> <p>This is the second note.&#160;<a href="#fnref:second" class="footnote-backref">&#8617;&#xFE0E;</a></p>
</li> </li>


<li id="fn:third"> <li id="fn:third">
<p>This is the third note, defined out of order.&#160;<a href="#fnref:third" class="footnote-backref">&#8617;</a></p> <p>This is the third note, defined out of order.&#160;<a href="#fnref:third" class="footnote-backref">&#8617;&#xFE0E;</a></p>
</li> </li>


<li id="fn:fourth"> <li id="fn:fourth">
<p>This is the fourth note.&#160;<a href="#fnref:fourth" class="footnote-backref">&#8617;</a></p> <p>This is the fourth note.&#160;<a href="#fnref:fourth" class="footnote-backref">&#8617;&#xFE0E;</a></p>
</li> </li>


<li id="fn:1"> <li id="fn:1">
<p>Content for fifth footnote.&#160;<a href="#fnref:1" class="footnote-backref">&#8617;</a> <a href="#fnref2:1" class="footnote-backref">&#8617;</a></p> <p>Content for fifth footnote.&#160;<a href="#fnref:1" class="footnote-backref">&#8617;&#xFE0E;</a> <a href="#fnref2:1" class="footnote-backref">&#8617;&#xFE0E;</a></p>
</li> </li>


<li id="fn:2"> <li id="fn:2">
<p>Content for sixth footnote spaning on <p>Content for sixth footnote spaning on
three lines, with some span-level markup like three lines, with some span-level markup like
<em>emphasis</em>, a <a href="http://michelf.ca/">link</a>.&#160;<a href="#fnref:2" class="footnote-backref">&#8617;</a></p> <em>emphasis</em>, a <a href="http://michelf.ca/">link</a>.&#160;<a href="#fnref:2" class="footnote-backref">&#8617;&#xFE0E;</a></p>
</li> </li>


<li id="fn:fn-name"> <li id="fn:fn-name">
<p>Footnote beginning on the line next to the marker.&#160;<a href="#fnref:fn-name" class="footnote-backref">&#8617;</a></p> <p>Footnote beginning on the line next to the marker.&#160;<a href="#fnref:fn-name" class="footnote-backref">&#8617;&#xFE0E;</a></p>
</li> </li>


<li id="fn:block"> <li id="fn:block">
Expand All @@ -78,25 +78,25 @@ three lines, with some span-level markup like
<pre><code>Code block <pre><code>Code block
</code></pre> </code></pre>


<p><a href="#fnref:block" class="footnote-backref">&#8617;</a></p> <p><a href="#fnref:block" class="footnote-backref">&#8617;&#xFE0E;</a></p>
</li> </li>


<li id="fn:reference"> <li id="fn:reference">
<p>This footnote has a footnote of its own.<sup id="fnref:nested"><a href="#fn:nested" class="footnote-ref">12</a></sup>&#160;<a href="#fnref:reference" class="footnote-backref">&#8617;</a></p> <p>This footnote has a footnote of its own.<sup id="fnref:nested"><a href="#fn:nested" class="footnote-ref">12</a></sup>&#160;<a href="#fnref:reference" class="footnote-backref">&#8617;&#xFE0E;</a></p>
</li> </li>


<li id="fn:1$^!&quot;'"> <li id="fn:1$^!&quot;'">
<p>Haha!&#160;<a href="#fnref:1$^!&quot;'" class="footnote-backref">&#8617;</a></p> <p>Haha!&#160;<a href="#fnref:1$^!&quot;'" class="footnote-backref">&#8617;&#xFE0E;</a></p>
</li> </li>


<li id="fn:image-mixed"> <li id="fn:image-mixed">
<p>Footnote Content&#xA0;<a class="footnote-backref" href="#fnref:image-mixed">&#x21A9;</a></p> <p>Footnote Content&#xA0;<a class="footnote-backref" href="#fnref:image-mixed">&#8617;&#xFE0E;</a></p>
</li> </li>


<li id="fn:nested"> <li id="fn:nested">
<p>This footnote should appear even though it is referenced <p>This footnote should appear even though it is referenced
from another footnote. But [^reference] should be litteral from another footnote. But [^reference] should be litteral
since the footnote with that name has already been used.&#160;<a href="#fnref:nested" class="footnote-backref">&#8617;</a></p> since the footnote with that name has already been used.&#160;<a href="#fnref:nested" class="footnote-backref">&#8617;&#xFE0E;</a></p>
</li> </li>


</ol> </ol>
Expand Down

0 comments on commit 10b3c7c

Please sign in to comment.