[pmwiki-users] external links and overwriting default targets

Clemens Gruber cgruber at uni-osnabrueck.de
Wed Mar 26 10:12:46 CDT 2008


Hi, I've got a problem with combined external links and the wiki style
target feature:

In farmconfig a default blank target is defined

    # open external links in new window
    $UrlLinkFmt = "<a class='external' href='\$LinkUrl' rel='nofollow'
target='_blank'>\$LinkText</a>";


Now I like to switch the target on some links, but this doesn't work:

    %target=_self% [[http://www.engadget.com]].


There is still a "wrong" target specification in the html output:

    <a class="external" href="http://www.engadget.com" rel="nofollow"
target="_blank">http://www.engadget.com</a>


What can I do?

Clemens



More information about the pmwiki-users mailing list