array_push( $this->lines, $this->line );
} else {
# make empty lines visible by inserting an NBSP
- array_push( $this->lines, ' ' );
+ array_push( $this->lines, "\u{00A0}" );
}
$this->line = '';
}
$this->flushLine( $tag );
$word = substr( $word, 1 );
}
+ // FIXME: Don't use assert()
+ // phpcs:ignore MediaWiki.Usage.ForbiddenFunctions.assert
assert( !strstr( $word, "\n" ) );
$this->group .= $word;
}