[Seaside] how to store text with html markup

zekUs zekzekus at gmail.com
Wed Apr 27 13:47:37 UTC 2011


ooops!!!

i was sure it has a so easy solution.

thanks for help boris.

2011/4/27 Boris Popov, DeepCove Labs <boris at deepcovelabs.com>

> Zekeriya,
>
>
>
> In your rendering methods just use,
>
>
>
> html html: ‘<strong>hello</strong>’
>
>
>
> instead of,
>
>
>
> html text: ‘<strong>hello</strong>’
>
>
>
> Hope this helps,
>
>
>
> -Boris
>
>
>
> *From:* seaside-bounces at lists.squeakfoundation.org [mailto:
> seaside-bounces at lists.squeakfoundation.org] *On Behalf Of *zekUs
> *Sent:* 27 April 2011 09:33
> *To:* Seaside - general discussion
> *Subject:* [Seaside] how to store text with html markup
>
>
>
> Hello there,
>
> i am developing a blog engine for entirely personal and educational
> purposes. I create a compnent to edit and addd new posts. with a textarea i
> want to enter text with html tags and when it comes to show this data i want
> the browser to show the text as html.
>
> for example i enter <b>hello</b> and store it, then render it i see exactly
> <b>hello</b> not *hello* (bold). i know seaside prevents this behaviour by
> default for security reasons but somewhere there should be a way of doing
> something like this.
>
> regards.
>
> --
> Zekeriya "zekUs" KOÇ - http://zekzekus.com/
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>


-- 
Zekeriya "zekUs" KOÇ - http://zekzekus.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110427/1a9437ca/attachment.htm


More information about the seaside mailing list