EmailTemplateService renders always renders subject line as html
17 views
Skip to first unread message
Steven
unread,
Jun 18, 2012, 12:43:57 PM6/18/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mvccontri...@googlegroups.com
Hi,
I suspect this is more of a Razor issue than Contrib, but I'm having problems rendering the subject line using the EmailTemplateService
object. Basically, some of my data has an & in it and after the EmailTemplateService renders it is always &. I've trying placing Html.Raw around the data in the view, but no luck. I'd really appreciate anyones input on this.