summaryrefslogtreecommitdiff
path: root/lib/plugins/info
diff options
context:
space:
mode:
authorchris <chris@teacherscpd.co.uk>2005-09-14 13:56:43 +0200
committerchris <chris@teacherscpd.co.uk>2005-09-14 13:56:43 +0200
commit0cb422a21416da0999421c4e3697cc074157d7a4 (patch)
tree60b2c329f9fab06e732e705870f55eb30b975eeb /lib/plugins/info
parent59f257aecfe0c5cd214a042c710f3ac3c497d1db (diff)
downloadrpg-0cb422a21416da0999421c4e3697cc074157d7a4.tar.gz
rpg-0cb422a21416da0999421c4e3697cc074157d7a4.tar.bz2
plugin info fix - correct strtr parameters
darcs-hash:20050914115643-50fdc-df95b6d9464a1e49e16c69b84b389eb10f08a8b7.gz
Diffstat (limited to 'lib/plugins/info')
-rw-r--r--lib/plugins/info/syntax.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/info/syntax.php b/lib/plugins/info/syntax.php
index 7cfb76033..ea46da7bb 100644
--- a/lib/plugins/info/syntax.php
+++ b/lib/plugins/info/syntax.php
@@ -119,7 +119,7 @@ class syntax_plugin_info extends DokuWiki_Syntax_Plugin {
$renderer->doc .= ' ';
$renderer->emaillink($info['email'],$info['author']);
$renderer->doc .= '<br />';
- $renderer->doc .= strtr(htmlspecialchars($info['desc']),array("\n","<br />"));
+ $renderer->doc .= strtr(htmlspecialchars($info['desc']),array("\n"=>"<br />"));
$renderer->doc .= '</li>';
unset($po);
}