From: Steve W. <sw...@wc...> - 2001-02-28 14:40:52
|
On Thu, 22 Feb 2001, Didier Bretin wrote: > Hello, > > I'm with the 1.1.9 version, and I can't find where I can allow the use > of html. Can you help me ? :o) To enable HTML, you only have to uncomment one block of code in lib/transform.php. It looks like this: /* If your web server is not accessble to the general public, you may allow this code below, which allows embedded HTML. If just anyone can reach your web server it is highly advised that you do not allow this. elseif (preg_match("/(^\|)(.*)/", $tmpline, $matches)) { // HTML mode $html .= SetHTMLOutputMode("", ZERO_DEPTH, 0); $html .= $matches[2]; continue; } */ Just strip out all the comments and you can then insert HTML this way: | <table> | <tr><td>blah</td></tr> | </table> by putting a bar | at the start of every line. If you want to go much further than that you can change the rules in transform.php (not for the light hearted!) to use HTML instead of Wiki markup. cheers ~swain ...............................ooo0000ooo................................. Hear FM quality freeform radio through the Internet: http://wcsb.org/ home page: www.wcsb.org/~swain |