summaryrefslogtreecommitdiff
path: root/inc/parser/xhtml.php
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-22 18:41:53 +0200
committerandi <andi@splitbrain.org>2005-04-22 18:41:53 +0200
commit37e34a5ef6c436d6cf1525ba3643b1597cadc168 (patch)
tree8963802fb170578e997a69d35da0a3c25c100daf /inc/parser/xhtml.php
parent723d78db98a03f01d49b69501be9dc9cf2c52b50 (diff)
downloadrpg-37e34a5ef6c436d6cf1525ba3643b1597cadc168.tar.gz
rpg-37e34a5ef6c436d6cf1525ba3643b1597cadc168.tar.bz2
backlink with camelcase support (untested)
darcs-hash:20050422164153-9977f-443f332fa6e591dfa352448ceb5dd24811d227a2.gz
Diffstat (limited to 'inc/parser/xhtml.php')
-rw-r--r--inc/parser/xhtml.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index 0b1531a65..1c26b0645 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -390,9 +390,10 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
function internallink($id, $name = NULL, $search=NULL) {
global $conf;
+ global $ID;
$name = $this->_getLinkTitle($name, $this->_simpleTitle($id), $isImage, $id);
- resolve_pageid($id,$exists);
+ resolve_pageid(getNS($ID),$id,$exists);
if ( !$isImage ) {
if ( $exists ) {
@@ -644,7 +645,8 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
function internalmedia ($src, $title=NULL, $align=NULL, $width=NULL,
$height=NULL, $cache=NULL) {
global $conf;
- resolve_mediaid($src, $exists);
+ global $ID;
+ resolve_mediaid(getNS($ID),$src, $exists);
$link = array();
$link['class'] = 'media';