On 2019-06-17 21:26, Amir Caspi wrote:> On Jun 17, 2019, at 1:14 PM,
Amir Caspi <ceph...@3phase.com
> <mailto:ceph...@3phase.com>> wrote:
>>
>> rawbodyAC_HIDDEN_FONT/font-size\s*:\s*0\s*(?:em|pt|px|%)\s*;/
>>
>
> Actually, based on another spample (https://pastebin.com/rrU2AsVT),
> let's modify this one -- the em/pt/px/% isn't required:
>
> rawbodyAC_HIDDEN_FONT/font-size\s*:\s*0\s*(?:em|pt|px|%)?\s*;/
>
> It might also be prudent to look for 0-height or 0-width line-height,
> max-height, max-width... so that would change the hidden-font to:
>
>
rawbodyAC_HIDDEN_FONT/(?:font-size|line-height|max-height|max-width)\s*:\s*0\s*(?:em|pt|px|%)?\s*;/
>
> And, looks like another rule might be useful:
>
> rawbodyAC_LARGE_NEG_INDENT/text-indent\s*:\s*-[0-9]{3,}(?:em|pt|px|%)\s*;/
>
> This looks for a large negative text-indent, as is used in the spample
> linked above.
>
> Cheers.
>
> --- Amir
>

Don't forget that css also has an "!important" flag that comes before
the semicolon.

rawbodyAC_HIDDEN_FONT/(?:font-size|line-height|max-height|max-width)\s*:\s*0\s*(?:em|pt|px|%)?(?:\s*!important)?\s*;/

BR/Mvh. Dan Malm, Systems Engineer, One.com

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to