diff options
Diffstat (limited to 'inc/actions.php')
-rw-r--r-- | inc/actions.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/inc/actions.php b/inc/actions.php index c0f85c97a..24516e5d5 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -392,7 +392,9 @@ function act_export($act){ ptln('</head>'); ptln('<body>'); ptln('<div class="dokuwiki export">'); - print p_wiki_xhtml($ID,$REV,false); + $html = p_wiki_xhtml($ID,$REV,false); + tpl_toc(); + echo $html; ptln('</div>'); ptln('</body>'); ptln('</html>'); @@ -401,7 +403,9 @@ function act_export($act){ // html body only if($act == 'export_xhtmlbody'){ - print p_wiki_xhtml($ID,$REV,false); + $html = p_wiki_xhtml($ID,$REV,false); + tpl_toc(); + echo $html; exit; } |