Jon Stevens escribió:
> 
> on 1/29/01 3:26 PM, "Ingo Rammer" <[EMAIL PROTECTED]> wrote:
> 
> > On one hand it's just for keeping the layout consistent (which means, there
> > shouldn't be another <STYLE>-Tag in). On the other hand, a <META
> > http-equiv="REDIRECT... -Tag wouldn't be nice in a portal anyway ...
> >
> > Every "scrubbing"-feature can be turned of for any page you want to include
> > in the portal. (The only thing that can't be switched is the automatic
> > opening/closing of missing tags ... so that a included "</table>" without
> > corresponding "<table>" wouldn't mess up with your layout.
> 
> A better methodology for this is to simply remove the tags that you don't
> know about and keep the ones that you want...this can be done with a regular
> expression. I suggest that you do it this way. :-)
> 

One interesting approach could be to remove everything except for
"inline" (em, strong, ...) markup, line breaks, paragraphs and lists,
something like what Slashdot does in their editor. It is fairly safe, I
think.

Such code would be useful for allowing some markup in the
JetspeedContent weblog.

I doubt, nevertheless, that this code could make sense of most
editor-made pages out there, filled with tables inside tables with font
inside fonts tags :)


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/[email protected]/>
List Help?:          [EMAIL PROTECTED]

Reply via email to