Skip to content

Commit 9b07603

Browse files
authored
Merge pull request #281 from cosmocode/hideExportLinksInPdf
Hide pdf-export-link in pdf
2 parents 04e9a88 + cda2996 commit 9b07603

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/exportlink.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function handle($match, $state, $pos, Doku_Handler $handler) {
7878
* @return boolean rendered correctly? (however, returned value is not used at the moment)
7979
*/
8080
public function render($mode, Doku_Renderer $renderer, $data) {
81-
if($mode == 'xhtml') {
81+
if($mode == 'xhtml' && !is_a($renderer,'renderer_plugin_dw2pdf')) {
8282
$renderer->internallink($data['link'],$data['title']);
8383
return true;
8484
}

0 commit comments

Comments
 (0)