HTML_BBCodeParser, how to modify extended filter ?
| From: | hugo | Date: | Sun, 14 Aug 2005 11:11:12 +0000 |
| Subject: | HTML_BBCodeParser, how to modify extended filter ? | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20410@lists.php.net to get a copy of this message | ||
Hi,
I'm currently use HTML_BBCodeParser but I don't understand how to render quote style like in phpbb style. (with a border and the author on top)
BBCodeParser produce this kind of balise :
<q cite='author'>texte</q>
I know how to define q style in CSS to have a border :
q
{
background-color: white;
overflow: auto;
width: 100%;
border: 1px solid #B1B1B1;
padding-left: 5px;
}
But I don't understand how to use "cite" properties to print 'author' on top.
I know that it's not a pear specific question but maybe the solution is to modify extended filter.