{"action":"created","issue":{"url":"https://api.github.com/repos/mjmlio/mjml/issues/487","repository_url":"https://api.github.com/repos/mjmlio/mjml","labels_url":"https://api.github.com/repos/mjmlio/mjml/issues/487/labels{/name}","comments_url":"https://api.github.com/repos/mjmlio/mjml/issues/487/comments","events_url":"https://api.github.com/repos/mjmlio/mjml/issues/487/events","html_url":"https://github.com/mjmlio/mjml/issues/487","id":198362454,"number":487,"title":"Freeze when template contains double curly braces","user":{"login":"meriadec","id":315259,"avatar_url":"https://avatars3.githubusercontent.com/u/315259?v=3","gravatar_id":"","url":"https://api.github.com/users/meriadec","html_url":"https://github.com/meriadec","followers_url":"https://api.github.com/users/meriadec/followers","following_url":"https://api.github.com/users/meriadec/following{/other_user}","gists_url":"https://api.github.com/users/meriadec/gists{/gist_id}","starred_url":"https://api.github.com/users/meriadec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meriadec/subscriptions","organizations_url":"https://api.github.com/users/meriadec/orgs","repos_url":"https://api.github.com/users/meriadec/repos","events_url":"https://api.github.com/users/meriadec/events{/privacy}","received_events_url":"https://api.github.com/users/meriadec/received_events","type":"User","site_admin":false},"labels":[{"id":550493871,"url":"https://api.github.com/repos/mjmlio/mjml/labels/MJML%204","name":"MJML 4","color":"5319e7","default":false},{"id":479144833,"url":"https://api.github.com/repos/mjmlio/mjml/labels/Parser","name":"Parser","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mjmlio/mjml/milestones/11","html_url":"https://github.com/mjmlio/mjml/milestone/11","labels_url":"https://api.github.com/repos/mjmlio/mjml/milestones/11/labels","id":2391213,"number":11,"title":"3.3.1","description":"","creator":{"login":"ngarnier","id":4700883,"avatar_url":"https://avatars1.githubusercontent.com/u/4700883?v=3","gravatar_id":"","url":"https://api.github.com/users/ngarnier","html_url":"https://github.com/ngarnier","followers_url":"https://api.github.com/users/ngarnier/followers","following_url":"https://api.github.com/users/ngarnier/following{/other_user}","gists_url":"https://api.github.com/users/ngarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/ngarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngarnier/subscriptions","organizations_url":"https://api.github.com/users/ngarnier/orgs","repos_url":"https://api.github.com/users/ngarnier/repos","events_url":"https://api.github.com/users/ngarnier/events{/privacy}","received_events_url":"https://api.github.com/users/ngarnier/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":2,"state":"open","created_at":"2017-03-16T16:06:51Z","updated_at":"2017-04-20T12:04:35Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2017-01-02T17:24:48Z","updated_at":"2017-04-20T12:04:35Z","closed_at":"2017-04-20T12:04:35Z","body":"As raised here: https://github.com/mjmlio/mjml-app/issues/68, having `{{` in template results in a freeze.\r\n\r\ne.g giving this code :\r\n(tested with v3.1.1 and v3.2.0-beta.3)\r\n\r\n```javascript\r\nconst mjml = require('mjml')\r\n\r\nmjml.mjml2html(`\r\n<mjml>\r\n<mj-body>\r\n  <mj-container>\r\n    <mj-section>\r\n      <mj-column>\r\n        <mj-text>\r\n          Hello world {{\r\n        </mj-text>\r\n      </mj-column>\r\n    </mj-section>\r\n  </mj-container>\r\n</mj-body>\r\n</mjml>\r\n`)\r\n\r\nconsole.log('after') // it never happens\r\n```\r\n\r\nNo problem with a single curly brace.\r\nIs there any workaround?"},"comment":{"url":"https://api.github.com/repos/mjmlio/mjml/issues/comments/295708214","html_url":"https://github.com/mjmlio/mjml/issues/487#issuecomment-295708214","issue_url":"https://api.github.com/repos/mjmlio/mjml/issues/487","id":295708214,"user":{"login":"ngarnier","id":4700883,"avatar_url":"https://avatars1.githubusercontent.com/u/4700883?v=3","gravatar_id":"","url":"https://api.github.com/users/ngarnier","html_url":"https://github.com/ngarnier","followers_url":"https://api.github.com/users/ngarnier/followers","following_url":"https://api.github.com/users/ngarnier/following{/other_user}","gists_url":"https://api.github.com/users/ngarnier/gists{/gist_id}","starred_url":"https://api.github.com/users/ngarnier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngarnier/subscriptions","organizations_url":"https://api.github.com/users/ngarnier/orgs","repos_url":"https://api.github.com/users/ngarnier/repos","events_url":"https://api.github.com/users/ngarnier/events{/privacy}","received_events_url":"https://api.github.com/users/ngarnier/received_events","type":"User","site_admin":false},"created_at":"2017-04-20T12:04:35Z","updated_at":"2017-04-20T12:04:35Z","body":"Hello, \r\n\r\nThanks for reporting @meriadec, it's now fixed (`npm install mjml` to update)!"}}
{"actor":{"display_login":"ngarnier"}}