Skip to content

Commit

Permalink
Bug fix: allow duplicate notelists with different backref chars
Browse files Browse the repository at this point in the history
  • Loading branch information
netcarver committed Sep 22, 2010
1 parent 8b62f85 commit 074c1c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classTextile.php
Original file line number Diff line number Diff line change
Expand Up @@ -1187,11 +1187,11 @@ function fParseNoteRefs($m)
function fNoteLists($m)
{
list(, $att, $start_char, $g_links, $extras) = $m;
$index = $g_links.$extras;
if( !$start_char ) $start_char = 'a';
$index = $g_links.$extras.$start_char;

if( empty($this->notelist_cache[$index]) ) { # If not in cache, build the entry...
$o = array();
if( !$start_char ) $start_char = 'a';

if( !empty($this->notes)) {
foreach($this->notes as $seq=>$info) {
Expand Down

0 comments on commit 074c1c4

Please sign in to comment.