68 public function addWords( $words, $tag =
'' ) {
69 if ( $tag != $this->tag ) {
70 $this->flushGroup( $tag );
73 foreach ( $words as $word ) {
78 if ( $word[0] ==
"\n" ) {
79 $this->flushLine( $tag );
80 $word = substr( $word, 1 );
84 assert( !str_contains( $word,
"\n" ) );
85 $this->group .= $word;