{"action":"closed","issue":{"url":"https://api.github.com/repos/gnosygnu/xowa/issues/250","repository_url":"https://api.github.com/repos/gnosygnu/xowa","labels_url":"https://api.github.com/repos/gnosygnu/xowa/issues/250/labels{/name}","comments_url":"https://api.github.com/repos/gnosygnu/xowa/issues/250/comments","events_url":"https://api.github.com/repos/gnosygnu/xowa/issues/250/events","html_url":"https://github.com/gnosygnu/xowa/issues/250","id":371462405,"node_id":"MDU6SXNzdWUzNzE0NjI0MDU=","number":250,"title":"jtidy does not handle <textarea> correctly","user":{"login":"desb42","id":861631,"node_id":"MDQ6VXNlcjg2MTYzMQ==","avatar_url":"https://avatars3.githubusercontent.com/u/861631?v=4","gravatar_id":"","url":"https://api.github.com/users/desb42","html_url":"https://github.com/desb42","followers_url":"https://api.github.com/users/desb42/followers","following_url":"https://api.github.com/users/desb42/following{/other_user}","gists_url":"https://api.github.com/users/desb42/gists{/gist_id}","starred_url":"https://api.github.com/users/desb42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/desb42/subscriptions","organizations_url":"https://api.github.com/users/desb42/orgs","repos_url":"https://api.github.com/users/desb42/repos","events_url":"https://api.github.com/users/desb42/events{/privacy}","received_events_url":"https://api.github.com/users/desb42/received_events","type":"User","site_admin":false},"labels":[{"id":1101338701,"node_id":"MDU6TGFiZWwxMTAxMzM4NzAx","url":"https://api.github.com/repos/gnosygnu/xowa/labels/config","name":"config","color":"fef2c0","default":false},{"id":227738361,"node_id":"MDU6TGFiZWwyMjc3MzgzNjE=","url":"https://api.github.com/repos/gnosygnu/xowa/labels/html","name":"html","color":"eb6420","default":false},{"id":1128221260,"node_id":"MDU6TGFiZWwxMTI4MjIxMjYw","url":"https://api.github.com/repos/gnosygnu/xowa/labels/resolved%20by%20commit","name":"resolved by commit","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-10-18T10:24:13Z","updated_at":"2018-11-15T04:14:35Z","closed_at":"2018-11-15T04:14:35Z","author_association":"NONE","body":"Taking the page '/home/wiki/Special:XowaCfg?grp=xowa.html.page' via the xowa web server\r\n![options_html_page](https://user-images.githubusercontent.com/861631/47147461-2d4a4600-d2c6-11e8-9fbb-bf4f36bc18e4.jpg)\r\n\r\nIf you look at the source code generated (around the 'Content code format' area)\r\n![source_code](https://user-images.githubusercontent.com/861631/47147834-fcb6dc00-d2c6-11e8-8fc7-1adc06ea070e.jpg)\r\n\r\ntowards the bottom of the page is a <textarea> section\r\nNote that the content of the <textarea> actually comes after the closing </textarea>\r\n\r\nThe actual page does not seem to be affected - but this is not so.\r\nAn ajax call in the background requests this page's data and the page is overwritten with the correct html. \r\n\r\nThe problem is that as the html is being constructed on the xowa side the html is passed through a jtidy step. It is this step that is corrupting the html\r\nThe ajax call does not get passed through a jtidy step which is why that is correct.\r\n\r\nA solution I would suggest is to not do a jtidy step if it is a 'Special' page (namespace -1)\r\nThis would be independent of the option to turn jtidy on or off\r\n(Of course correcting jtidy behaviour is also another possibility)"}}
{"actor":{"display_login":"gnosygnu"}}