Change-Id: I28cb7060d6149d96ceb0dcad7e2bff2ed3434411
// We hit the end.
$elementPos = strlen( $text );
$element = '';
// We hit the end.
$elementPos = strlen( $text );
$element = '';
- } elseif( substr( $element, -1 ) === "\004" ) {
+ } elseif ( substr( $element, -1 ) === "\004" ) {
// This can sometimes happen if we have
// unclosed html tags (For example
// when converting a title attribute
// This can sometimes happen if we have
// unclosed html tags (For example
// when converting a title attribute