Commit Graph

13 Commits

Author SHA1 Message Date
Klaus Leithoff
0164a09b04 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
introduce and use new make_tag_strict option 3, to exclude font from applying strict measures to it
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; other changes (keep_bad and -htmlawed-transform) that did affect the expected result of htmlawed v1.1.17 compared to v1.1.14
2014-06-03 12:11:05 +00:00
Klaus Leithoff
ec36d628a8 * API/htmLawed: upgrade to version 1.1.17 2014-06-03 11:48:56 +00:00
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
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
6408fdfc01 update htmLawed to Version 1.1.14 (including adaptions from http://www.bioinformatics.org/phplabware/forum/viewtopic.php?id=235) 2012-10-15 09:35:30 +00:00
Klaus Leithoff
eba8731295 different approach to avoid php-warnings on str_repeat, provided by Santosh Patnaik 2012-08-03 12:56:52 +00:00
Klaus Leithoff
5144a0e0d2 upgrade to htmLawed 1.1.13, 22 July 2012 of Santosh Patnaik; if balancing is switched on, allow span element everywhere 2012-08-02 14:22:33 +00:00
Klaus Leithoff
44d80c2476 take care of php-warning on str_repeat (second param has to be greater or equal to 0) 2012-07-31 11:03:17 +00:00
Klaus Leithoff
1d928dd98c small alteration to make htmLawed respect keep_bad config value when tags are generally considered bad for not matching the regex (and not in any list of known tags) 2012-07-27 10:21:00 +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
e579a54013 handling of multibyte chars in attribute values of tags in mbstring.func_overload enviroments,
as substr_replace does not have a multibyte func overload function associated.
Thus substr_replace(, '', 0, strlen()) will fall short in the above mentioned enviroments; we use our own bytes-function now introduced into htmLawed
2012-05-30 14:49:21 +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