...::: => ...:::
*
* TW_NOP - tag without end tag
*
... */ $tw_tag_relations = array( // TAG FLAG CONT.OFF REQ. TAG "a" => array(0, 0, null), "b" => array(0, 0, null), "blockquote"=> array(0, 0, null), "big" => array(0, 0, null), "br" => array(TW_NOP, 0, null), "code" => array(0, 0, null), "dl" => array(0, 0, null), "dt" => array(TW_OPT, 0, array("dl")), "dd" => array(TW_OPT, 0, array("dl")), "div" => array(0, 0, null), "em" => array(0, 0, null), "h1" => array(0, 0, null), "h2" => array(0, 0, null), "h3" => array(0, 0, null), "h4" => array(0, 0, null), "h5" => array(0, 0, null), "h6" => array(0, 0, null), "hr" => array(TW_NOP, 0, null), "i" => array(0, 0, null), "img" => array(TW_NOP, 0, null), "ul" => array(0, 1, null), "ol" => array(0, 1, null), "li" => array(TW_OPT, 0, array("ul","ol")), "object" => array(0, 1, null), "p" => array(TW_OPT, 0, null), "pre" => array(0, 0, null), "small" => array(0, 0, null), "span" => array(0, 0, null), "strong" => array(0, 0, null), "style" => array(0, 1, null), "sub" => array(0, 0, null), "sup" => array(0, 0, null), "table" => array(0, 1, null), "caption" => array(0, 0, array("table")), "tbody" => array(0, 0, array("table")), "tfoot" => array(0, 0, array("table")), "thead" => array(0, 0, array("table")), "tr" => array(TW_OPT, 1, array("table","tbody")), "td" => array(TW_OPT, 0, array("tr")), "th" => array(TW_OPT, 0, array("tr")), "u" => array(0, 0, null), // TODO: add your specific tags here... ); ?>