Got the point. Let me redo the stuff. I'll let you know if I have any trouble. Regards
On 23 Mar 2018 1:54 AM, "Dave S" <[email protected]> wrote: > > > On Thursday, March 22, 2018 at 9:42:00 AM UTC-7, Maurice Waka wrote: >> >> this is part of my view.html., a chat bot. >> Am having a problem escaping the " ' " character. >> > >> On Thu, Mar 22, 2018 at 7:32 PM, Anthony <[email protected]> wrote: >> >>> What does this have to do with web2py? And why do you have "content: >>> \0027" in the body selector? What are you really trying to do? >>> >>> Anthony >>> >>> > > The body {content: ...} stuff works with .before and .after, no? What > does "\0027" do? > > But in what way are you having trouble? If you're putting text into the > view/chat.html file, a literal "*'*", or ', or ' (as per > Anthony's reply) work just fine. It also works just fine to have a literal > "*'*" in the data being displayed (returned by the controller function, > and obtained in a DB query in my test case). > > /dps > > > > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/web2py/o6loJy5SGWc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

