summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-06 20:21:11 +0200
committerandi <andi@splitbrain.org>2005-04-06 20:21:11 +0200
commit11d0aa478c0ed10f26b6f8d7a1f1ab9404464cd3 (patch)
tree544babe66ea3466adb75aca79834b77c98beadba /inc/parser/xhtml.php
parentdef3530d42728b132e4280503f1336abcab43a49 (diff)
downloadrpg-11d0aa478c0ed10f26b6f8d7a1f1ab9404464cd3.tar.gz
rpg-11d0aa478c0ed10f26b6f8d7a1f1ab9404464cd3.tar.bz2
new parser: camelcase works
darcs-hash:20050406182111-9977f-1de9796a2badb831b65ed6c5ca14d9508e56f4cc.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php15
1 files changed, 1 insertions, 14 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 7d14d59e4..5cb4b3001 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -360,22 +360,9 @@ class Doku_Renderer_XHTML extends Doku_Renderer {
}
/**
- * @TODO Handle local vs. global namespace checks
*/
function camelcaselink($link) {
-
- echo '<a href="'.$link.'"';
-
- if ( wikiPageExists($link) ) {
- echo ' class="wikilink1"';
- } else {
- echo ' class="wikilink2"';
- }
-
- // Probably dont need to convert entities - parser would have rejected it
- echo ' onclick="return svchk()" onkeypress="return svchk()">';
- echo $this->__xmlEntities($link);
- echo '</a>';
+ $this->internallink($link,$link);
}
/**