{"action":"created","issue":{"url":"https://api.github.com/repos/mybb/mybb/issues/2458","repository_url":"https://api.github.com/repos/mybb/mybb","labels_url":"https://api.github.com/repos/mybb/mybb/issues/2458/labels{/name}","comments_url":"https://api.github.com/repos/mybb/mybb/issues/2458/comments","events_url":"https://api.github.com/repos/mybb/mybb/issues/2458/events","html_url":"https://github.com/mybb/mybb/issues/2458","id":170696848,"number":2458,"title":"Font BBCODE","user":{"login":"aa4re","id":18484541,"avatar_url":"https://avatars.githubusercontent.com/u/18484541?v=3","gravatar_id":"","url":"https://api.github.com/users/aa4re","html_url":"https://github.com/aa4re","followers_url":"https://api.github.com/users/aa4re/followers","following_url":"https://api.github.com/users/aa4re/following{/other_user}","gists_url":"https://api.github.com/users/aa4re/gists{/gist_id}","starred_url":"https://api.github.com/users/aa4re/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aa4re/subscriptions","organizations_url":"https://api.github.com/users/aa4re/orgs","repos_url":"https://api.github.com/users/aa4re/repos","events_url":"https://api.github.com/users/aa4re/events{/privacy}","received_events_url":"https://api.github.com/users/aa4re/received_events","type":"User","site_admin":false},"labels":[{"id":26368972,"url":"https://api.github.com/repos/mybb/mybb/labels/1.8","name":"1.8","color":"5319e7","default":false},{"id":6961148,"url":"https://api.github.com/repos/mybb/mybb/labels/bug","name":"bug","color":"fc2929","default":true},{"id":26367855,"url":"https://api.github.com/repos/mybb/mybb/labels/s:confirmed","name":"s:confirmed","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mybb/mybb/milestones/14","html_url":"https://github.com/mybb/mybb/milestones/1.8.9","labels_url":"https://api.github.com/repos/mybb/mybb/milestones/14/labels","id":1975874,"number":14,"title":"1.8.9","description":"","creator":{"login":"Stefan-ST","id":544140,"avatar_url":"https://avatars.githubusercontent.com/u/544140?v=3","gravatar_id":"","url":"https://api.github.com/users/Stefan-ST","html_url":"https://github.com/Stefan-ST","followers_url":"https://api.github.com/users/Stefan-ST/followers","following_url":"https://api.github.com/users/Stefan-ST/following{/other_user}","gists_url":"https://api.github.com/users/Stefan-ST/gists{/gist_id}","starred_url":"https://api.github.com/users/Stefan-ST/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stefan-ST/subscriptions","organizations_url":"https://api.github.com/users/Stefan-ST/orgs","repos_url":"https://api.github.com/users/Stefan-ST/repos","events_url":"https://api.github.com/users/Stefan-ST/events{/privacy}","received_events_url":"https://api.github.com/users/Stefan-ST/received_events","type":"User","site_admin":false},"open_issues":140,"closed_issues":5,"state":"open","created_at":"2016-08-31T19:32:52Z","updated_at":"2016-10-29T19:02:18Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-08-11T17:09:35Z","updated_at":"2016-11-02T19:44:41Z","closed_at":null,"body":"Hello,\nFrom Class_parser.php:\n....\n`$nestable_mycode['font']['regex'] = \"#\\[font=([a-z0-9 ,\\-_'\\\"]+)\\](.*?)\\[/font\\]#si\";\n$nestable_mycode['font']['replacement'] = \"<span style=\\\"font-family: $1;\\\">$2</span>\";`\n...\n\nthis BBCODE : [font=arial\"] anything[/font]  produce invalid tag:\n\n`<span style=\"font-family: arial\";\">anything</span>`\n\nthis solve the problem:\n`$nestable_mycode['font']['regex'] = \"#\\[font=([a-z0-9 ,\\-_]+)\\](.*?)\\[/font\\]#si\";`\nthe best way is limit font choice: $defined_user_fonts\n`$nestable_mycode['font']['regex'] = \"#\\[font=(arial|tahoma)\\](.*?)\\[/font\\]#si\";`\n"},"comment":{"url":"https://api.github.com/repos/mybb/mybb/issues/comments/257977325","html_url":"https://github.com/mybb/mybb/issues/2458#issuecomment-257977325","issue_url":"https://api.github.com/repos/mybb/mybb/issues/2458","id":257977325,"user":{"login":"Stefan-ST","id":544140,"avatar_url":"https://avatars.githubusercontent.com/u/544140?v=3","gravatar_id":"","url":"https://api.github.com/users/Stefan-ST","html_url":"https://github.com/Stefan-ST","followers_url":"https://api.github.com/users/Stefan-ST/followers","following_url":"https://api.github.com/users/Stefan-ST/following{/other_user}","gists_url":"https://api.github.com/users/Stefan-ST/gists{/gist_id}","starred_url":"https://api.github.com/users/Stefan-ST/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stefan-ST/subscriptions","organizations_url":"https://api.github.com/users/Stefan-ST/orgs","repos_url":"https://api.github.com/users/Stefan-ST/repos","events_url":"https://api.github.com/users/Stefan-ST/events{/privacy}","received_events_url":"https://api.github.com/users/Stefan-ST/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T19:44:41Z","updated_at":"2016-11-02T19:44:41Z","body":"Are you sure the SCEditor doesn't add double quotes in any case?"}}
{"actor":{"display_login":"Stefan-ST"}}