[html-formfu] HTMLScrubber filter

Ronald J Kimball rkimball at pangeamedia.com
Tue Jul 27 15:23:19 GMT 2010


You seem to be getting yourself confused by the fat commas in the Perl.

This:

@rules =3D (
  'p' =3D> {
    'style' =3D> 0,
    'class' =3D> 1,
  },
);

is equivalent to this:

@rules =3D (
  'p',
  {
    'style' =3D> 0,
    'class' =3D> 1,
  },
);

so your YAML should look like this:

  - p
  - style: 0
    class: 1

Ronald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20100727/22=
e53e5c/attachment.htm


More information about the HTML-FormFu mailing list