Re: Embedded HTML validation in a RoR app?

Walter McGinnis
Fri, 26 Jun 2009 04:43:42 -0000

Here''s my old crack at it.  Probably newer code bases that do a better
job.
http://github.com/kete/validates_as_sanitized_html/tree/master

Cheers,
Walter


On Fri, Jun 26, 2009 at 2:33 PM, Marnen Laibow-Koser
<marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org>wrote:

>
> On Jun 25, 5:47 pm, Wes Gamble
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
> wrote:
> > Anyone ever done HTML validation of an arbitrary piece of HTML within
> > their RoR app.?  Any gems/plugins that would work?  Would Hpricot do
the
> > trick?
>
> Are you perchance looking for something like
> http://github.com/wr0ngway/assert_valid_markup/tree/master ?  I''ve
> never tried that, but I plan to experiment with putting it into my
> automated specs if it works well.
>
> >
> > Thanks,
> > Wes
> > --
> > Posted viahttp://www.ruby-forum.com/.
>
> Best,
> --
> Marnen Laibow-Koser
> http://www.marnen.org
> marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---