{"action":"created","issue":{"url":"https://api.github.com/repos/mybb/mybb/issues/2045","repository_url":"https://api.github.com/repos/mybb/mybb","labels_url":"https://api.github.com/repos/mybb/mybb/issues/2045/labels{/name}","comments_url":"https://api.github.com/repos/mybb/mybb/issues/2045/comments","events_url":"https://api.github.com/repos/mybb/mybb/issues/2045/events","html_url":"https://github.com/mybb/mybb/issues/2045","id":89453836,"number":2045,"title":"Sceditor smilies WYSIWYG mode, not parsed correctly.","user":{"login":"ATofighi","id":3256261,"avatar_url":"https://avatars.githubusercontent.com/u/3256261?v=3","gravatar_id":"","url":"https://api.github.com/users/ATofighi","html_url":"https://github.com/ATofighi","followers_url":"https://api.github.com/users/ATofighi/followers","following_url":"https://api.github.com/users/ATofighi/following{/other_user}","gists_url":"https://api.github.com/users/ATofighi/gists{/gist_id}","starred_url":"https://api.github.com/users/ATofighi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ATofighi/subscriptions","organizations_url":"https://api.github.com/users/ATofighi/orgs","repos_url":"https://api.github.com/users/ATofighi/repos","events_url":"https://api.github.com/users/ATofighi/events{/privacy}","received_events_url":"https://api.github.com/users/ATofighi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mybb/mybb/labels/1.8","name":"1.8","color":"5319e7"},{"url":"https://api.github.com/repos/mybb/mybb/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mybb/mybb/labels/p:low","name":"p:low","color":"79B6FB"},{"url":"https://api.github.com/repos/mybb/mybb/labels/s:confirmed","name":"s:confirmed","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mybb/mybb/milestones/13","html_url":"https://github.com/mybb/mybb/milestones/1.8.8","labels_url":"https://api.github.com/repos/mybb/mybb/milestones/13/labels","id":1617680,"number":13,"title":"1.8.8","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":155,"closed_issues":13,"state":"open","created_at":"2016-03-02T12:03:20Z","updated_at":"2016-05-17T23:22:31Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2015-06-19T03:14:43Z","updated_at":"2016-05-18T15:32:55Z","closed_at":null,"body":"Hello,\n\nI am new to the MyBB community, and I would like to report a bug.\nI have searched if it has already been reported but did not find, so I am reporting it here.\n\nWhen typing at the editor, in WYSIWYG mode, the following:\n\". :) q\"\nYou will see that it will transform to:\n\". ::)\"\n\nMoreover, smilies' images don't always show up after typing them. For example, when typing \":)\" right before any text has been inserted to the editor, it won't convert to a picture.\n\nI have looked into this issue using Firebug console, and I got the following error (at jquery.sceditor.bbcode.min.js file):\n\n\nCode:\nIndexSizeError: Index or size is negative or greater than the allowed amount\n&nbsp;&nbsp;&nbsp;&nbsp;\n\n...}return g},hasStyle:function(b,c,d){var f=e.getStyle(b,c);return f?!d||f===d||a....\n\nAfter replacing the jquery.sceditor.bbcode.min.js file with the jquery.sceditor.bbcode.js file provided here, the problem persisted exactly the same, however I got a more understanding javascript code this time, except I don't understand it.\n\nThis was tested at a fresh installation of MyBB 1.8.5 and right here in the Community forums while writing this report.\n\nIf anyone can find a solution I would appreciate it very much. Thanks.\n\nOriginal thread: [Sceditor smilies WYSIWYG mode, not parsed correctly.](http://community.mybb.com/thread-171581.html)"},"comment":{"url":"https://api.github.com/repos/mybb/mybb/issues/comments/220065032","html_url":"https://github.com/mybb/mybb/issues/2045#issuecomment-220065032","issue_url":"https://api.github.com/repos/mybb/mybb/issues/2045","id":220065032,"user":{"login":"brunoais","id":639467,"avatar_url":"https://avatars.githubusercontent.com/u/639467?v=3","gravatar_id":"","url":"https://api.github.com/users/brunoais","html_url":"https://github.com/brunoais","followers_url":"https://api.github.com/users/brunoais/followers","following_url":"https://api.github.com/users/brunoais/following{/other_user}","gists_url":"https://api.github.com/users/brunoais/gists{/gist_id}","starred_url":"https://api.github.com/users/brunoais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunoais/subscriptions","organizations_url":"https://api.github.com/users/brunoais/orgs","repos_url":"https://api.github.com/users/brunoais/repos","events_url":"https://api.github.com/users/brunoais/events{/privacy}","received_events_url":"https://api.github.com/users/brunoais/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T15:32:55Z","updated_at":"2016-05-18T15:32:55Z","body":"I still strongly suspect he died.\r\nHe still won't answer my e-mails, he didn't do absolutely anything on github since July last year and his activity on stackoverflow is very suspicious as he keeps logging in without doing anything besides the actual logging in."}}