Commit Graph

14 Commits

Author SHA1 Message Date
Klaus Leithoff
a210fbc3c7 * 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 14:39:00 +00:00
Klaus Leithoff
627c65e6dd * eMail/HTMLawed: introduce and use new make_tag_strict option 3, to exclude font from applying strict measures to it 2012-10-30 14:24:08 +00:00
Klaus Leithoff
9c73af1aca * 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:49:13 +00:00
Klaus Leithoff
019a84cd17 update htmLawed to Version 1.1.14 (including adaptions from http://www.bioinformatics.org/phplabware/forum/viewtopic.php?id=235) 2012-10-15 09:33:01 +00:00
Klaus Leithoff
5b47c1cdfa different approach to avoid php-warnings on str_repeat, provided by Santosh Patnaik 2012-08-03 08:24:40 +00:00
Klaus Leithoff
6123e479b2 revert r40031 2012-08-02 10:01:39 +00:00
Klaus Leithoff
f9ceede91b different approach to avoid php-warnings on str_repeat 2012-08-02 08:27:06 +00:00
Klaus Leithoff
e547e8adfa if balancing is switched on, allow span element everywhere 2012-08-01 08:29:32 +00:00
Klaus Leithoff
9bb5ddfdf4 upgrade to htmLawed 1.1.13, 22 July 2012 of Santosh Patnaik 2012-07-31 15:14:44 +00:00
Klaus Leithoff
eafb5f8730 take care of php-warning on str_repeat (second param has to be greater or equal to 0) 2012-07-31 11:06:55 +00:00
Klaus Leithoff
0904fb74b6 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:17:06 +00:00
Klaus Leithoff
fdfcdfc387 * API: upgrade htmLawed from 1.1.10 to 1.1.11 2012-06-06 08:54:35 +00:00
Klaus Leithoff
b6638adc24 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 09:22:27 +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