From: Don S. <do...@se...> - 2003-02-04 17:04:54
|
Well parseOutput prints the <pre> tag when it sees [code] so couldn't it just print <pre style="code"> instead? Don. On Tue, 4 Feb 2003, Mike Noyes wrote: > On Tue, 2003-02-04 at 07:47, Don Seiler wrote: > > I see the [code] thing is working now. I do have couple of requests: > > > > 1. How about adding an entry at the top of that text area (along side the > > bold, italic, ol, ul) for putting a [code] [/code] block in? I didn't see > > one in the demo site. > > Don, > I may be mistaken here, but shouldn't the xhtml tags inside of [code] > derive their attributes from the theme css? So if you want a boarder > around <pre>, you define it in the stylesheet. The only thing [code] > should do is bypass the stripping code in parseInput. Correct? > > http://res1.stddev.appstate.edu/horde/chora/co.php/phpws_core/core/Text.php?r=1.48 > > |