From: Jean-Nicolas G. <jea...@st...> - 2006-05-12 11:56:28
|
Hi, For the development of the wysiwyg editor, I have an issue for the conversion from wikitext to html of links. To convert wikitext to html, I use the code bellow : require_once("lib/BlockParser.php"); $output = new Wikitext($this->_wikitext); $xmlcontent = new XmlContent($output->getContent() ); $this->_html = $xmlcontent->AsXML(); -------- If my "$this->_wikitext" contains links like : [ text | wikilink ] , [ text | newpage ] .. that's ok. But if I have something like : [ text | http://... ] or [ text | ftp://... ] ... it just convert it in "<p ... >text</p>" and the link disappear. Does someone know something about it ? or is there a way to force phpwiki to keep the link or convert it correctly ? Thanks. Regards. Jean-Nicolas. |