* Tracker: fix bug regarding the save of replys that could be regarded as empty (only span with style, no content)

This commit is contained in:
Klaus Leithoff 2013-05-07 11:38:44 +00:00
parent 918d5e787e
commit 80f74e5449

View File

@ -1080,6 +1080,7 @@ class translation
'@&(trade|#8482);@i', // trade '@&(trade|#8482);@i', // trade
'@'@i', // singleQuote '@'@i', // singleQuote
'@(\xc2\xa0)@', // nbsp or tab (encoded windows-style) '@(\xc2\xa0)@', // nbsp or tab (encoded windows-style)
'@(\xe2\x80\x8b)@', // ZERO WIDTH SPACE
); );
$Replace = array ('', $Replace = array ('',
'"', '"',
@ -1095,6 +1096,7 @@ class translation
'(TM)',// trade '(TM)',// trade
"'", "'",
' ', ' ',
'',
); );
$_html = preg_replace($Rules, $Replace, $_html); $_html = preg_replace($Rules, $Replace, $_html);