{"action":"opened","issue":{"url":"https://api.github.com/repos/jpamental/typogrify/issues/8","repository_url":"https://api.github.com/repos/jpamental/typogrify","labels_url":"https://api.github.com/repos/jpamental/typogrify/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/jpamental/typogrify/issues/8/comments","events_url":"https://api.github.com/repos/jpamental/typogrify/issues/8/events","html_url":"https://github.com/jpamental/typogrify/issues/8","id":178519545,"number":8,"title":"Fix text sanitization.","user":{"login":"benjifisher","id":1170799,"avatar_url":"https://avatars.githubusercontent.com/u/1170799?v=3","gravatar_id":"","url":"https://api.github.com/users/benjifisher","html_url":"https://github.com/benjifisher","followers_url":"https://api.github.com/users/benjifisher/followers","following_url":"https://api.github.com/users/benjifisher/following{/other_user}","gists_url":"https://api.github.com/users/benjifisher/gists{/gist_id}","starred_url":"https://api.github.com/users/benjifisher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjifisher/subscriptions","organizations_url":"https://api.github.com/users/benjifisher/orgs","repos_url":"https://api.github.com/users/benjifisher/repos","events_url":"https://api.github.com/users/benjifisher/events{/privacy}","received_events_url":"https://api.github.com/users/benjifisher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-22T04:29:17Z","updated_at":"2016-09-22T04:29:17Z","closed_at":null,"body":"When building the settings form, there are lines like\r\n\r\n```\r\n    foreach (unicode_conversion_map('ligature') as $ascii => $unicode) {\r\n      $ligature_options[$ascii] = t('Convert <code>@ascii</code> to !unicode', array(\r\n        '@ascii' => $ascii,\r\n        '!unicode' => $unicode,\r\n      ));\r\n    }\r\n```\r\n\r\nIn D7, the `!` token means \"do not sanitize this:  I have already checked that it is safe.\"  In D8, it is illegal.  It sort of works, but it generates PHP warnings.\r\n\r\nI am not sure what the proper fix is.  There are a lot of `!` tokens in this file.  We may need different fixes for different uses."}}
{"actor":{"display_login":"benjifisher"}}