1<?php 2 3/* 4* Returns page data 5* 6* @param {String} namespace title 7* @return {String} html markup for the submenu 8* @access public 9*/ 10function livepreview_getpreview ($ns) { 11 global $ID; 12 $ns = cleanID(preg_replace("#^.+?".$_SERVER['HTTP_HOST'].DOKU_BASE."#i","",$ns)); 13 return p_wiki_xhtml_summary($ns,$title); 14}