Skip to content

Commit

Permalink
Remove <br /> tags in tlnote.
Browse files Browse the repository at this point in the history
Closes #2.
  • Loading branch information
rosenrose authored and nmlgc committed Mar 23, 2019
1 parent 543f594 commit 64dd7c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TPCParse.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static function parseLines( &$param, $escape_percents = true ) {
$tlnote = substr( $param, $tlnotePos );
$regular = substr( $param, 0, $tlnotePos );
$ret = preg_split( $REGEX_LINE, $regular, null ) ;
$ret[ count($ret) - 1] .= $tlnote;
$ret[ count($ret) - 1] .= preg_replace("#<br\s*/?>#", "", $tlnote);
return $ret;
}
return preg_split( $REGEX_LINE, $param, null );
Expand Down

0 comments on commit 64dd7c2

Please sign in to comment.