benzado / NaSkeWriMo

The National Sketch Writing Month website
http://www.naskewrimo.org/
1 stars 1 forks source link

Put quote marks around sketch title input field #9

Closed benzado closed 13 years ago

benzado commented 13 years ago

Should avoid people entering their own quotes, like this: http://www.naskewrimo.org/profiles/review/160

benzado commented 13 years ago

This is tricky, since we are using the Form helper to generate the HTML. We can't do it with CSS :before/:after because those can only be applied to containers ( cannot contain another element)

leom commented 13 years ago

Hey Ben - I just pulled down this source, and I'm hoping to pitch in here and there. I'm new to git but old to svn so this should be cake.

Anyway, are you against sanitizing the data on input, and just transparently removing start/end quotes?

benzado commented 13 years ago

Actually, yeah, just removing the quote marks makes a lot more sense.