[Pmwiki-users] Quoting http:/.... from within code invoke by $DoubleBrackets

Christian Ridderström chr
Sat Jan 24 06:20:49 CST 2004


Hi

Let's assume I have a this double bracket pattern:
	$DoubleBracket['/\\[\\[test\\]\\]/'] = 
		"<a href='http://www.something.org'>link</a>";

In this case, the final result will not be 'link' (where it's a link), 
because some $LinkPatterns... will detect the 'http:' and manipulate it.

How could I prevent this from happening.
Could I quote the output of the DoubleBracke-replacement somehow?  
Or is the result of a DoubleBracket-replacement by definition to be 
further interpreted for additional PmWiki markup?

/Christian

This is related to the earlier mail I sent about [[$Attachlist:]], where 
the code used to emply $InlineReplacements, but I changed to 
$DoubleBracket so that $LinkPatterns wouldn't "steal" wikiwords.

-- 
Dr. Christian Ridderstr?m, +46-8-768 39 44       http://www.md.kth.se/~chr




More information about the pmwiki-users mailing list