{"action":"closed","issue":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/2539","labels_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/2539/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/2539/comments","events_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/2539/events","html_url":"https://github.com/OrchardCMS/Orchard/issues/2539","id":68198318,"number":2539,"title":"CommentMessage token & line breaks","user":{"login":"orchardbot","id":11788683,"avatar_url":"https://avatars.githubusercontent.com/u/11788683?v=3","gravatar_id":"","url":"https://api.github.com/users/orchardbot","html_url":"https://github.com/orchardbot","followers_url":"https://api.github.com/users/orchardbot/followers","following_url":"https://api.github.com/users/orchardbot/following{/other_user}","gists_url":"https://api.github.com/users/orchardbot/gists{/gist_id}","starred_url":"https://api.github.com/users/orchardbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orchardbot/subscriptions","organizations_url":"https://api.github.com/users/orchardbot/orgs","repos_url":"https://api.github.com/users/orchardbot/repos","events_url":"https://api.github.com/users/orchardbot/events{/privacy}","received_events_url":"https://api.github.com/users/orchardbot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/milestones/12","html_url":"https://github.com/OrchardCMS/Orchard/milestones/Orchard%201.5","labels_url":"https://api.github.com/repos/OrchardCMS/Orchard/milestones/12/labels","id":1065770,"number":12,"title":"Orchard 1.5","description":"Please read our release notes for Orchard 1.5:\n[url:http://docs.orchardproject.net/Documentation/Orchard-1-5-Release-Notes]\n\n*Please* do not post questions as reviews. Questions should be posted in the Discussions tab, where they will usually get promptly responded to. If you post a question as a review, you will pollute the rating, and you won't get an answer.","creator":{"login":"orchardbot","id":11788683,"avatar_url":"https://avatars.githubusercontent.com/u/11788683?v=3","gravatar_id":"","url":"https://api.github.com/users/orchardbot","html_url":"https://github.com/orchardbot","followers_url":"https://api.github.com/users/orchardbot/followers","following_url":"https://api.github.com/users/orchardbot/following{/other_user}","gists_url":"https://api.github.com/users/orchardbot/gists{/gist_id}","starred_url":"https://api.github.com/users/orchardbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orchardbot/subscriptions","organizations_url":"https://api.github.com/users/orchardbot/orgs","repos_url":"https://api.github.com/users/orchardbot/repos","events_url":"https://api.github.com/users/orchardbot/events{/privacy}","received_events_url":"https://api.github.com/users/orchardbot/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":51,"state":"closed","created_at":"2015-04-13T19:41:10Z","updated_at":"2015-04-13T21:26:00Z","due_on":"2012-07-18T07:00:00Z","closed_at":"2015-04-13T19:41:10Z"},"comments":2,"created_at":"2012-05-28T23:09:04Z","updated_at":"2015-04-13T21:26:00Z","closed_at":"2015-04-13T21:26:00Z","body":"__planetClaire__ created:\r\nhttps://orchard.codeplex.com/workitem/18712\r\n\r\nUsing the CommentMessage token in a \"send an email\" rule a la http://weblogs.asp.net/bleroy/archive/2012/03/01/my-orchard-comment-notification-rule.aspx works great, but it would be even better if we could have HTML line breaks too, so the email reads better.\r\n\r\nAdding .Replace(System.Environment.NewLine, \"<br />\"))) to the Evaluation in Orchard.Comments.Tokens.CommentTokens works, but maybe it's not right to do it this way.  Do we need another CommentMessageHtml token, or maybe there's some other way to format the token."}}