Commit Graph

17 Commits

Author SHA1 Message Date
Klaus Leithoff
ff16579e5d * email: allow cid as overall url schema; handle background url in htmLawed, as background is not allowed except for body, but commonly used with other tags (e.g. in td); control schema for background in hook_tag 2012-12-17 15:09:14 +00:00
Klaus Leithoff
5e39b80be2 * eMail: use different image to show that a image was not loaded (due to allowExternalIMGs=no) 2012-11-29 13:56:37 +00:00
Klaus Leithoff
66a4b635e5 improved control of excess empty div tags 2012-11-15 15:31:02 +00:00
Klaus Leithoff
f286c0228e if style stuff contains e.g. font-family: Kunstler Script EGroupware Script detection complains about script tags when posting such content. So we remove Script from inline style definition 2012-11-15 11:56:04 +00:00
Klaus Leithoff
c133b16728 * eMail/HTMLawed: introduce and use new make_tag_strict option 3, to exclude font from applying strict measures to it 2012-10-30 14:27:40 +00:00
Klaus Leithoff
c6372b0f49 * eMail: allow table as inline element while balancing tags (new internal config option); try to correct common errors/problems in html-code which caused display/layout problems 2012-10-29 15:51:30 +00:00
Klaus Leithoff
09d3160447 rework changes regarding denied attributes; improve import of mails regarding filename detection for attachments 2012-10-10 10:40:08 +00:00
Klaus Leithoff
ed0dd6b321 filter/remove (on(before)?(abort|blur|change|click|dblclick|error|focus|keydown|keypress|keyup|load|mousedown|mousemove|mouseout|mouseover|mouseup|reset|select|submit|unload)) attributes in/with htmLawed for default and email config 2012-10-09 09:29:01 +00:00
Klaus Leithoff
b140ea5093 simple balancing on throwaway divs 2012-07-31 11:00:54 +00:00
Klaus Leithoff
1fb2198422 throwing away excess div elements, that carry no style or class or id info 2012-07-30 15:09:57 +00:00
Klaus Leithoff
78d4c235c5 mangle @ in blockquote cite attribute 2012-06-13 11:11:29 +00:00
Klaus Leithoff
920729a0bc replace ctype_digit with is_numeric, as ctype_digit returns false on integers 2012-06-06 10:48:21 +00:00
Klaus Leithoff
1c63b3a936 * API: upgrade htmLawed from 1.1.10 to 1.1.11 2012-06-06 08:56:12 +00:00
Klaus Leithoff
fda576c01f * email: fix for Helpdesk Issue:3430 (Unstructured display of text when converting email to infolog) 2012-06-04 11:31:39 +00:00
Klaus Leithoff
33633cd7a5 attempt of switching from htmlpurifier to htmLawed and replacing kses by htmLawed calls; this is done for performance and resource considerations; still the common call in egw is by html::purify, but htmLawed is doing the work now. let me know if there are issues regarding; if we cannot find issues within EGroupware, we will clean out the related sourcecode of kses and htmlpurifier with the next step 2012-05-30 14:47:03 +00:00
Klaus Leithoff
e8f83bede0 work around a problem with balance tags removing content 2012-05-15 15:19:32 +00:00
Klaus Leithoff
9503984a4b * API: introduce htmLawed by Santosh Patnaik into EGroupware. Its planned to replace htmlPurifier with htmLawed as htmLawed provides better configurability, needs less resources and is a lot faster; 2012-04-12 13:35:28 +00:00