Skip to content

Commit

Permalink
Bug 8313 fix anchor output when used in conjuction with sprintf (than…
Browse files Browse the repository at this point in the history
…ks to bjs5075 at rit dot edu)

git-svn-id: https://svn.php.net/repository/pear/packages/Text_Wiki/trunk@217229 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Justin Patrin committed Jul 28, 2006
1 parent 57560c6 commit 9bb9ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Text/Wiki/Render/Xhtml/Wikilink.php
Expand Up @@ -98,7 +98,7 @@ function token($options)
$href = $href . $this->urlEncode($page) . $anchor;
} else {
// use the new form (sprintf format string)
$href = sprintf($href, $this->urlEncode($page) . $anchor);
$href = sprintf($href, $this->urlEncode($page)) . $anchor;
}

// get the CSS class and generate output
Expand Down

0 comments on commit 9bb9ed9

Please sign in to comment.