{"action":"created","issue":{"url":"https://api.github.com/repos/fxbois/web-mode/issues/484","labels_url":"https://api.github.com/repos/fxbois/web-mode/issues/484/labels{/name}","comments_url":"https://api.github.com/repos/fxbois/web-mode/issues/484/comments","events_url":"https://api.github.com/repos/fxbois/web-mode/issues/484/events","html_url":"https://github.com/fxbois/web-mode/issues/484","id":68833352,"number":484,"title":"Syntax highlighting breaks with named Mason blocks","user":{"login":"dustinpaluch","id":6547887,"avatar_url":"https://avatars.githubusercontent.com/u/6547887?v=3","gravatar_id":"","url":"https://api.github.com/users/dustinpaluch","html_url":"https://github.com/dustinpaluch","followers_url":"https://api.github.com/users/dustinpaluch/followers","following_url":"https://api.github.com/users/dustinpaluch/following{/other_user}","gists_url":"https://api.github.com/users/dustinpaluch/gists{/gist_id}","starred_url":"https://api.github.com/users/dustinpaluch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustinpaluch/subscriptions","organizations_url":"https://api.github.com/users/dustinpaluch/orgs","repos_url":"https://api.github.com/users/dustinpaluch/repos","events_url":"https://api.github.com/users/dustinpaluch/events{/privacy}","received_events_url":"https://api.github.com/users/dustinpaluch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-16T03:03:16Z","updated_at":"2015-04-16T06:15:43Z","closed_at":null,"body":"Syntax highlighting for Mason augment blocks works correctly if the blocks are empty, but break once they contain HTML; destroying a named block tag that contains HTML correctly disables the syntax highlighting, but **restoring the tag does not reactivate the syntax highlighting,** until web-mode is reloaded. \r\n\r\nHere's a demo of the bug:\r\nhttp://cl.ly/af4Z\r\n\r\nHere's the documentation for Mason augment blocks:\r\n[http://search.cpan.org/%7Ejswartz/Mason-2.22/lib/Mason/Manual/Syntax.pod#<%augment_name>](http://search.cpan.org/%7Ejswartz/Mason-2.22/lib/Mason/Manual/Syntax.pod#\\<%augment_name\\>)\r\n(click on augment name in the table of contents. I guess you can't link urls with angle brackets with github markdown.)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fxbois/web-mode/issues/comments/93653086","html_url":"https://github.com/fxbois/web-mode/issues/484#issuecomment-93653086","issue_url":"https://api.github.com/repos/fxbois/web-mode/issues/484","id":93653086,"user":{"login":"fxbois","id":959622,"avatar_url":"https://avatars.githubusercontent.com/u/959622?v=3","gravatar_id":"","url":"https://api.github.com/users/fxbois","html_url":"https://github.com/fxbois","followers_url":"https://api.github.com/users/fxbois/followers","following_url":"https://api.github.com/users/fxbois/following{/other_user}","gists_url":"https://api.github.com/users/fxbois/gists{/gist_id}","starred_url":"https://api.github.com/users/fxbois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxbois/subscriptions","organizations_url":"https://api.github.com/users/fxbois/orgs","repos_url":"https://api.github.com/users/fxbois/repos","events_url":"https://api.github.com/users/fxbois/events{/privacy}","received_events_url":"https://api.github.com/users/fxbois/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T06:15:43Z","updated_at":"2015-04-16T06:15:43Z","body":"@dustinpaluch could you post the output of web-mode-debug please.\r\nMoreover, please post your example on gist."}}