diff --git a/inc/actions.php b/inc/actions.php
index d17b975d79e1f27d1097c8e41145fd775b1b1237..315e35da85f84ad67582dd0a83bab267d5e1550f 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -124,6 +124,7 @@ function act_clean($act){
   $act = preg_replace('/[^a-z_]+/','',$act);
 
   if($act == 'export_html') $act = 'export_xhtml';
+  if($act == 'export_htmlbody') $act = 'export_xhtmlbody';
 
   if(array_search($act,array('login','logout','register','save','edit',
                              'preview','search','show','check','index','revisions',
@@ -287,6 +288,12 @@ function act_export($act){
     exit;
   }
 
+  // html body only
+  if($act == 'export_xhtmlbody'){
+    print p_wiki_xhtml($ID,$REV,false);
+    exit;
+  }
+
   // try to run renderer #FIXME use cached instructions
   $mode = substr($act,7);
   $text = p_render($mode,p_get_instructions(rawWiki($ID,$REV)),$info);