mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
convertHTML2Text: handling of chars that break further processing of converted Data (e.g.: Mail to Infolog)
This commit is contained in:
parent
318b97f04f
commit
5105251b11
@ -1139,7 +1139,9 @@ class translation
|
|||||||
'@&(pound|#163);@i', // Pound
|
'@&(pound|#163);@i', // Pound
|
||||||
'@&(copy|#169);@i', // Copyright
|
'@&(copy|#169);@i', // Copyright
|
||||||
'@&(reg|#174);@i', // Registered
|
'@&(reg|#174);@i', // Registered
|
||||||
|
'@&(trade|#8482);@i', // trade
|
||||||
'@'@i', // singleQuote
|
'@'@i', // singleQuote
|
||||||
|
'@(\xc2\xa0)@', // nbsp or tab (encoded windows-style)
|
||||||
);
|
);
|
||||||
$Replace = array ('',
|
$Replace = array ('',
|
||||||
'"',
|
'"',
|
||||||
@ -1150,9 +1152,11 @@ class translation
|
|||||||
chr(161),
|
chr(161),
|
||||||
chr(162),
|
chr(162),
|
||||||
chr(163),
|
chr(163),
|
||||||
chr(169),
|
'(C)',//chr(169),// copyrighgt
|
||||||
chr(174),
|
'(R)',//chr(174),// registered
|
||||||
|
'(TM)',// trade
|
||||||
"'",
|
"'",
|
||||||
|
' ',
|
||||||
);
|
);
|
||||||
$_html = preg_replace($Rules, $Replace, $_html);
|
$_html = preg_replace($Rules, $Replace, $_html);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user