Dear Faustino, Thanks a lot. Solved the problem.
Regards Avinesh On Tue, Apr 23, 2013 at 1:58 PM, Faustino Aguilar Quirós < faustin...@gmail.com> wrote: > Try to escape the code with the two points as follows: > > $string = Lots of parents react angrily to such a shock. >> $string = string.replace('react','<span style="text-decoration:** >> underline;"> react </span>') >> <td> $:string </td> > > > Or use: > > $code: > > def strings(): > > string = "Lots of parents react angrily to such a shock." > > string = string.replace('react','<span >> style="text-decoration:**underline;"> react </span>') > > return string > > <td> $:strings() </td> > > > And in both cases returns: > > Lots of parents *react* angrily to such a shock. > > Remember to use *$:* > > -- > You received this message because you are subscribed to the Google Groups > "web.py" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to webpy+unsubscr...@googlegroups.com. > To post to this group, send email to webpy@googlegroups.com. > Visit this group at http://groups.google.com/group/webpy?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "web.py" group. To unsubscribe from this group and stop receiving emails from it, send an email to webpy+unsubscr...@googlegroups.com. To post to this group, send email to webpy@googlegroups.com. Visit this group at http://groups.google.com/group/webpy?hl=en. For more options, visit https://groups.google.com/groups/opt_out.