Fix: Plus sign was not shown correctly after escaped function
This commit is contained in:
@@ -537,7 +537,7 @@ if ( !function_exists( 'sp_get_post_equation' ) ) {
|
||||
if ( $equation ):
|
||||
$equation = str_replace(
|
||||
array( '/', '(', ')', '+', '-', '*', '_', '$' ),
|
||||
array( '÷', '(', ')', '+', '−', '×', '@', '' ),
|
||||
array( '÷', '(', ')', '+', '−', '×', '@', '' ),
|
||||
trim( $equation )
|
||||
);
|
||||
return '<code>' . implode( '</code> <code>', explode( ' ', $equation ) ) . '</code>';
|
||||
|
||||
Reference in New Issue
Block a user