{"action":"created","issue":{"url":"https://api.github.com/repos/firegento/firegento-magesetup/issues/134","labels_url":"https://api.github.com/repos/firegento/firegento-magesetup/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/firegento/firegento-magesetup/issues/134/comments","events_url":"https://api.github.com/repos/firegento/firegento-magesetup/issues/134/events","html_url":"https://github.com/firegento/firegento-magesetup/pull/134","id":56237953,"number":134,"title":"Use the email field in a more flexible way","user":{"login":"riker09","id":568497,"avatar_url":"https://avatars.githubusercontent.com/u/568497?v=3","gravatar_id":"","url":"https://api.github.com/users/riker09","html_url":"https://github.com/riker09","followers_url":"https://api.github.com/users/riker09/followers","following_url":"https://api.github.com/users/riker09/following{/other_user}","gists_url":"https://api.github.com/users/riker09/gists{/gist_id}","starred_url":"https://api.github.com/users/riker09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riker09/subscriptions","organizations_url":"https://api.github.com/users/riker09/orgs","repos_url":"https://api.github.com/users/riker09/repos","events_url":"https://api.github.com/users/riker09/events{/privacy}","received_events_url":"https://api.github.com/users/riker09/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-02T13:42:23Z","updated_at":"2015-11-03T10:56:32Z","closed_at":"2015-10-30T23:12:37Z","pull_request":{"url":"https://api.github.com/repos/firegento/firegento-magesetup/pulls/134","html_url":"https://github.com/firegento/firegento-magesetup/pull/134","diff_url":"https://github.com/firegento/firegento-magesetup/pull/134.diff","patch_url":"https://github.com/firegento/firegento-magesetup/pull/134.patch"},"body":"Sometimes I want to output the content of the email field directly, without the antispam tags and javascript around. I haven't found any other way to do this, so here is my approach. Please feel free to correct me if I'm in the wrong here.\r\n\r\n##### Usage\r\n```\r\n{{block type=\"magesetup/imprint_field\" value=\"email\" antispam=\"false\"}}\r\nOR\r\n{{block type=\"magesetup/imprint_field\" value=\"email\" antispam=\"0\"}}\r\nOR\r\n{{block type=\"magesetup/imprint_field\" value=\"email\" antispam=\"\"}}\r\n```\r\n\r\nAs long as the antispam parameter contains a falsy value it should do the trick. In any other case the output remains as is."},"comment":{"url":"https://api.github.com/repos/firegento/firegento-magesetup/issues/comments/153314307","html_url":"https://github.com/firegento/firegento-magesetup/pull/134#issuecomment-153314307","issue_url":"https://api.github.com/repos/firegento/firegento-magesetup/issues/134","id":153314307,"user":{"login":"winkelsdorf","id":1413291,"avatar_url":"https://avatars.githubusercontent.com/u/1413291?v=3","gravatar_id":"","url":"https://api.github.com/users/winkelsdorf","html_url":"https://github.com/winkelsdorf","followers_url":"https://api.github.com/users/winkelsdorf/followers","following_url":"https://api.github.com/users/winkelsdorf/following{/other_user}","gists_url":"https://api.github.com/users/winkelsdorf/gists{/gist_id}","starred_url":"https://api.github.com/users/winkelsdorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winkelsdorf/subscriptions","organizations_url":"https://api.github.com/users/winkelsdorf/orgs","repos_url":"https://api.github.com/users/winkelsdorf/repos","events_url":"https://api.github.com/users/winkelsdorf/events{/privacy}","received_events_url":"https://api.github.com/users/winkelsdorf/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T10:56:32Z","updated_at":"2015-11-03T10:56:32Z","body":"@Schrank You're welcome. \r\n\r\nWell, in this issue two things mixed up a bit: Riker09 asks for a general way to get the mail address without antispam protection while I report a bug in the Mail templates using Antispam, too.\r\n\r\nAs JavaScript is usually not interpreted in Mail Clients we cannot use that Antispam-Protection for the Mail templates (see screenshot above).\r\n\r\nSo mklooss answer is wrong regarding my bug report as you probably don't want your users to edit each and every default mageSetup mail template after it's installation ;)\r\n\r\nRiker09's issue is solved by what @mklooss and you said, so I am fine with closing #134 as long as #168 and PR #169 are taken are of ^^ I am only interested in the correct handling of \"nospamplease\" in the Mail Templates. \r\n\r\nThis Issue here is more about a general mail display handling which is fine as it is now. Sorry for the confusion created, I shouldn't have put my findings about the mail handling here."}}