{"action":"created","issue":{"url":"https://api.github.com/repos/DataTables/DataTables/issues/456","labels_url":"https://api.github.com/repos/DataTables/DataTables/issues/456/labels{/name}","comments_url":"https://api.github.com/repos/DataTables/DataTables/issues/456/comments","events_url":"https://api.github.com/repos/DataTables/DataTables/issues/456/events","html_url":"https://github.com/DataTables/DataTables/issues/456","id":50154433,"number":456,"title":"language.paginate treats input as html, not text","user":{"login":"SimenB","id":1404810,"avatar_url":"https://avatars.githubusercontent.com/u/1404810?v=3","gravatar_id":"","url":"https://api.github.com/users/SimenB","html_url":"https://github.com/SimenB","followers_url":"https://api.github.com/users/SimenB/followers","following_url":"https://api.github.com/users/SimenB/following{/other_user}","gists_url":"https://api.github.com/users/SimenB/gists{/gist_id}","starred_url":"https://api.github.com/users/SimenB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimenB/subscriptions","organizations_url":"https://api.github.com/users/SimenB/orgs","repos_url":"https://api.github.com/users/SimenB/repos","events_url":"https://api.github.com/users/SimenB/events{/privacy}","received_events_url":"https://api.github.com/users/SimenB/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-11-26T11:36:59Z","updated_at":"2015-02-09T15:30:35Z","closed_at":"2015-02-09T15:30:35Z","body":"Se here: https://github.com/DataTables/DataTables/blob/31670cc1c58995deb214da1d287731817f0e963d/media/js/jquery.dataTables.js#L14174\r\n\r\nThis might be obvious, but I thought it was treated as text.\r\n\r\nWe had this\r\n```\r\n'paginate': {\r\n    'first': '<<',\r\n    'previous': '<',\r\n    'next': '>',\r\n    'last': '>>'\r\n}\r\n```\r\nwhich didn't work in IE8, but worked fine in other browsers. Now using \r\n```\r\n'paginate': {\r\n    'first': '&lt&lt',\r\n    'previous': '&lt',\r\n    'next': '&gt',\r\n    'last': '&gt&gt'\r\n}\r\n```\r\n\r\nWhich isn't as readable.\r\n\r\nMy point with this issue is that you should either make clear in the docs that the input in language is interpreted as HTML, or escape the text or use ``jQuery.text()`` instead of ``jQuery.html()``.\r\n\r\nIf it's already obvious in the docs, then I'm just blind, and I apologize :smile: "},"comment":{"url":"https://api.github.com/repos/DataTables/DataTables/issues/comments/73527758","html_url":"https://github.com/DataTables/DataTables/issues/456#issuecomment-73527758","issue_url":"https://api.github.com/repos/DataTables/DataTables/issues/456","id":73527758,"user":{"login":"DataTables","id":278219,"avatar_url":"https://avatars.githubusercontent.com/u/278219?v=3","gravatar_id":"","url":"https://api.github.com/users/DataTables","html_url":"https://github.com/DataTables","followers_url":"https://api.github.com/users/DataTables/followers","following_url":"https://api.github.com/users/DataTables/following{/other_user}","gists_url":"https://api.github.com/users/DataTables/gists{/gist_id}","starred_url":"https://api.github.com/users/DataTables/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataTables/subscriptions","organizations_url":"https://api.github.com/users/DataTables/orgs","repos_url":"https://api.github.com/users/DataTables/repos","events_url":"https://api.github.com/users/DataTables/events{/privacy}","received_events_url":"https://api.github.com/users/DataTables/received_events","type":"User","site_admin":false},"created_at":"2015-02-09T15:30:35Z","updated_at":"2015-02-09T15:30:35Z","body":"Finally updated the documentation [here](https://github.com/DataTables/DataTablesSrc/commit/9c33b362e7b3a). Will be deployed to the site soon."}}