Hi, it's been a while since I posted - still using Couch, but I'm doing less web work these days, and I guess I usually know what I'm doing now (in my comfort zone anyway)!
My question is this - is there a way to enable Trust Mode on all databound inputs by default? I don't really want to start messing with the couch code, but if you could point me to where and how I could change it, that would be very helpful!
Basically I have a closed system, where logged in (and trusted) users are creating and saving poster templates. I've built it wrong - I didn't realise I would need to include some basic HTML tags in the poster fields (mainly line breaks, but potentially em, bold), and I have built the ajax using dbpersist without forms (which means I can't use trust mode I think). Couch is automatically stripping out all the HTML tags...
If I can override the trust mode setting it would save me going back to rebuild it using forms.
Thanks, (and I hope that all made sense)
ewanmc
My question is this - is there a way to enable Trust Mode on all databound inputs by default? I don't really want to start messing with the couch code, but if you could point me to where and how I could change it, that would be very helpful!
Basically I have a closed system, where logged in (and trusted) users are creating and saving poster templates. I've built it wrong - I didn't realise I would need to include some basic HTML tags in the poster fields (mainly line breaks, but potentially em, bold), and I have built the ajax using dbpersist without forms (which means I can't use trust mode I think). Couch is automatically stripping out all the HTML tags...
If I can override the trust mode setting it would save me going back to rebuild it using forms.
Thanks, (and I hope that all made sense)
ewanmc