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