{"action":"created","issue":{"url":"https://api.github.com/repos/sagemath/sagenb/issues/411","repository_url":"https://api.github.com/repos/sagemath/sagenb","labels_url":"https://api.github.com/repos/sagemath/sagenb/issues/411/labels{/name}","comments_url":"https://api.github.com/repos/sagemath/sagenb/issues/411/comments","events_url":"https://api.github.com/repos/sagemath/sagenb/issues/411/events","html_url":"https://github.com/sagemath/sagenb/pull/411","id":184760527,"number":411,"title":"Fix hyperlinks on datafile page","user":{"login":"v2e","id":2400171,"avatar_url":"https://avatars.githubusercontent.com/u/2400171?v=3","gravatar_id":"","url":"https://api.github.com/users/v2e","html_url":"https://github.com/v2e","followers_url":"https://api.github.com/users/v2e/followers","following_url":"https://api.github.com/users/v2e/following{/other_user}","gists_url":"https://api.github.com/users/v2e/gists{/gist_id}","starred_url":"https://api.github.com/users/v2e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v2e/subscriptions","organizations_url":"https://api.github.com/users/v2e/orgs","repos_url":"https://api.github.com/users/v2e/repos","events_url":"https://api.github.com/users/v2e/events{/privacy}","received_events_url":"https://api.github.com/users/v2e/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-24T06:40:51Z","updated_at":"2016-10-24T09:44:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sagemath/sagenb/pulls/411","html_url":"https://github.com/sagemath/sagenb/pull/411","diff_url":"https://github.com/sagemath/sagenb/pull/411.diff","patch_url":"https://github.com/sagemath/sagenb/pull/411.patch"},"body":"In Sage-7.4 Notebook, Jinja2 replaces the HTML markup \"<\" and \">\" by \"&lt;\" and \"&gt;\" respectively. In this commit a Jinja2 filter \"safe\" is used as suggested [here](http://flask.pocoo.org/docs/0.11/templating/#controlling-autoescaping)."},"comment":{"url":"https://api.github.com/repos/sagemath/sagenb/issues/comments/255695131","html_url":"https://github.com/sagemath/sagenb/pull/411#issuecomment-255695131","issue_url":"https://api.github.com/repos/sagemath/sagenb/issues/411","id":255695131,"user":{"login":"v2e","id":2400171,"avatar_url":"https://avatars.githubusercontent.com/u/2400171?v=3","gravatar_id":"","url":"https://api.github.com/users/v2e","html_url":"https://github.com/v2e","followers_url":"https://api.github.com/users/v2e/followers","following_url":"https://api.github.com/users/v2e/following{/other_user}","gists_url":"https://api.github.com/users/v2e/gists{/gist_id}","starred_url":"https://api.github.com/users/v2e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/v2e/subscriptions","organizations_url":"https://api.github.com/users/v2e/orgs","repos_url":"https://api.github.com/users/v2e/repos","events_url":"https://api.github.com/users/v2e/events{/privacy}","received_events_url":"https://api.github.com/users/v2e/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T09:44:02Z","updated_at":"2016-10-24T09:44:02Z","body":"Oh, that is my fault. And ironically that is actually a demonstration of the problem itself. \r\nCurrenlty in Sage-7.4 when I go to the page of the data file (by choosing this data file in the \"DATA\" dropdown list of the worksheet), I see no hyperlinks for file downloading and deletion. The problem is that the HTML markup in the template is escaped as if it were the regular text. I.e. the \"<\" is substituted with \"`&lt;`\", and the \">\" is substituted with \"`&gt;`\"."}}
{"actor":{"display_login":"v2e"}}