{"action":"opened","issue":{"url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/2349","labels_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/2349/labels{/name}","comments_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/2349/comments","events_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/2349/events","html_url":"https://github.com/bleroy/OrchardImportTest/issues/2349","id":66187002,"number":2349,"title":"Tokenizer stripping out {}","user":{"login":"bleroy","id":1165609,"avatar_url":"https://avatars.githubusercontent.com/u/1165609?v=3","gravatar_id":"","url":"https://api.github.com/users/bleroy","html_url":"https://github.com/bleroy","followers_url":"https://api.github.com/users/bleroy/followers","following_url":"https://api.github.com/users/bleroy/following{/other_user}","gists_url":"https://api.github.com/users/bleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/bleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleroy/subscriptions","organizations_url":"https://api.github.com/users/bleroy/orgs","repos_url":"https://api.github.com/users/bleroy/repos","events_url":"https://api.github.com/users/bleroy/events{/privacy}","received_events_url":"https://api.github.com/users/bleroy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-03T17:02:34Z","updated_at":"2015-04-03T17:02:34Z","closed_at":null,"body":"Hi guys,  \n  \nWe have overridden the BodyPartDriver with a Tokenizing one, so we can allow\nour clients ability to do stuff like  \n<i..frame src=site.com?var={Custom.Id} >  \n  \nProblem is they want to put javascript in there, so where it should be  \n  \n$(document).ready(function() {  \nvar a=123;  \n});  \n  \nIt is now  \n  \n(document).ready(function() );  \n  \nSo it's stripping anything to do with {}, I think in the Parse method, I'm\nprobably reading the code wrong, but couldn't you change the logic to be.  \n  \nGet me all the Tokens from the TokenProviders via the Constructor and then go\nthrough the Text to Replace and if it matches, swap it out that way or not if\nthat's going to be really slow.  \n\nWork Item Details\n--------------------\n**Original CodePlex Issue:**\t[Issue 18459](http://orchard.codeplex.com/workitem/18459)\n**Status:**\tClosed\n**Reason Closed:**\tUnassigned\n**Assigned to:**\tUnassigned\n**Reported on:**\tFeb 22, 2012 at 1:39 PM\n**Reported by:**\tSarkie\n**Updated on:**\tFeb 27, 2012 at 9:07 PM\n**Updated by:**\tSarkie\n**Closed on:**\tFeb 27, 2012 at 6:28 PM\n**Closed by:**\tsebastienros\n**Status:**\tClosed\n**Reason Closed:**\tUnassigned\n**Assigned to:**\tUnassigned\n**Reported on:**\tFeb 22, 2012 at 1:39 PM\n**Reported by:**\tSarkie\n**Updated on:**\tFeb 27, 2012 at 9:07 PM\n**Updated by:**\tSarkie\n**Closed on:**\tFeb 27, 2012 at 6:28 PM\n**Closed by:**\tsebastienros\n"}}