I've committed a patch which uses h to show the description in the 
todo view, i.e. not in the model when a todo is saved.

Reinier

> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] [mailto:tracks-
> [EMAIL PROTECTED] Namens Hans de Graaff
> Verzonden: woensdag 25 juni 2008 7:44
> Aan: [email protected]
> Onderwerp: Re: [Tracks-discuss] Tracks-discuss Digest, Vol 28, Issue 20
> 
> On Tue, 2008-06-24 at 09:56 -0500, Jeff Gipson wrote:
> 
> > But I also wonder... If HTML will not be displayed in output,
> > shouldn't we run the 'h' method on form data before the
> > ActiveRecord#save method is run; and also should there be some
> > validation being done to prevent saving of data with illegal
> character
> > sequences?
> 
> Probably not, since you would still want HTML to be displayed, just not
> interpreted by the browser. Would be nice to just say "Fix the <div>
> stuff in Tracks" and have it work. Showing it with h() let's you do
> that, but it should still be saved as normal text for it to do that.
> 
> Kind regards,
> 
> Hans

_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to