(After this, "option" is no longer unhandled)

875c1080
<             'option' : 1,
---
>             # 'option' : 1,    # handled now by setting visibility to 0


An alt of "[img]" isn't useful enough to be worth the extra scrolling.

1248a1525,1528
>                 #jjj added the get-rid-of-[img]
>                 if attributes['alt'].lower() in ("img", "[img]"):
>                     del attributes['alt']


The content of a style tag is not intended for a human reader.

Plucker doesn't currently handle forms.  We can't just hide them, because
many sites put the real data inside a form.  A <select>, however, just
starts a list of possible options (like country or state).  Since we won't
be submitting the form, there isn't much point in know which values we could
have chosen from.

Note that turning off visibility may not save any storage space (I think we
still save the data), but it will at least look better.

1325a1614,1629
>     #jjj added these four
>     def start_option (self, attributes):
>         self._push_visibility (0)
> 
>     def end_option (self):
>         self._pop_visibility ()
> 
>     def start_style (self, attributes):
>         self._push_visibility (0)
> 
>     def end_style (self):
>         self._pop_visibility ()
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to