Skip to content

Commit

Permalink
Item9477: Fix linking of non wikiword topics in outline mode
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/TreePlugin@8516 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
OliverKrueger authored and OliverKrueger committed Aug 16, 2010
1 parent 94f1711 commit f47c303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Foswiki/Plugins/TreePlugin.pm
Expand Up @@ -564,13 +564,13 @@ sub setFormatter {
elsif ( $name eq "hlist" ) {
$formatter =
new Foswiki::Plugins::TreePlugin::HOutlineNodeFormatter(
"<h\$level> \$outnum \$web.\$topic </h\$level> \$summary");
"<h\$level> \$outnum [[\$web.\$topic][\$topic]] </h\$level> \$summary");
}
else {
$name = "outline";
$formatter =
new Foswiki::Plugins::TreePlugin::FormatOutlineNodeFormatter(
"\$outnum \$web.\$topic <br \/>");
"\$outnum [[\$web.\$topic][\$topic]] <br \/>");
}

# remember and return
Expand Down

0 comments on commit f47c303

Please sign in to comment.