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] <javascript:>> > 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 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.

