Index: trunk/wiki2xml/php/wiki2xml.php |
— | — | @@ -127,7 +127,10 @@ |
128 | 128 | |
129 | 129 | function p_internal_link_text2 ( &$a , &$xml , $closeit ) |
130 | 130 | { |
131 | | - return $this->p_internal_link_text ( $a , $xml , false , $closeit , false ) ; |
| 131 | + $bi = $this->bold_italics ; |
| 132 | + $ret = $this->p_internal_link_text ( $a , $xml , false , $closeit , false ) ; |
| 133 | + if ( $closeit == ']]' && '' != $this->bold_italics ) $ret = false ; # Dirty hack to ensure good XML; FIXME!!! |
| 134 | + return $ret ; |
132 | 135 | } |
133 | 136 | |
134 | 137 | function p_internal_link_text ( &$a , &$xml , $istarget = false , $closeit = "]]" , $mark = true ) |