Why can't you insert HTML into the messages? My understanding was that  
they worked in an identical fashion to Rails flashes. Are you escaping  
them perhaps?
-----
Ryan Bigg
Mocra - Premier iPhone and Ruby on Rails Consultants
w - http://mocra.com
e - [email protected]
p - +61 432 937 289 or +61 7 3102 3237
skype - radarlistener








On 14/04/2009, at 11:39 AM, Tze Yang Ng wrote:

>
> I'm thinking that maybe following can be done:
>
> message[:notice] = "You have just been sent an email  **Be sure to
> check your SPAM folder!!**"
>
> Use a helper to convert the markdown string to html in the view  
> templates ?
>
> :] TY
>
> ==
>
> On Tue, Apr 14, 2009 at 4:26 AM, Jon Hancock <[email protected]>  
> wrote:
>>
>> I have messages (the flash-like things) where I would like to include
>> some html.
>>
>> For example:
>> message[:notice] = "You have just been sent an email  Be sure to  
>> check
>> your SPAM folder!!"
>>
>> There are times when I would like to include some html, such as:
>> message[:notice] = "You have just been sent an email  <b>Be sure to
>> check your SPAM folder!!</b>"
>>
>> This doesn't work.
>>
>> Anyone know the trick to this?
>>
>> thanks, Jon
>>>
>>
>
>
>
> -- 
> http://ngty77.blogspot.com
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to