{"comment":{"url":"https://api.github.com/repos/Glenpl/LYTM/comments/16130969","html_url":"https://github.com/Glenpl/LYTM/commit/730c9fe0196e280a07fa25bf643dc111d61a4e99#commitcomment-16130969","id":16130969,"user":{"login":"MacDada","id":136261,"avatar_url":"https://avatars.githubusercontent.com/u/136261?v=3","gravatar_id":"","url":"https://api.github.com/users/MacDada","html_url":"https://github.com/MacDada","followers_url":"https://api.github.com/users/MacDada/followers","following_url":"https://api.github.com/users/MacDada/following{/other_user}","gists_url":"https://api.github.com/users/MacDada/gists{/gist_id}","starred_url":"https://api.github.com/users/MacDada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MacDada/subscriptions","organizations_url":"https://api.github.com/users/MacDada/orgs","repos_url":"https://api.github.com/users/MacDada/repos","events_url":"https://api.github.com/users/MacDada/events{/privacy}","received_events_url":"https://api.github.com/users/MacDada/received_events","type":"User","site_admin":false},"position":27,"line":25,"path":"yt_api.py","commit_id":"730c9fe0196e280a07fa25bf643dc111d61a4e99","created_at":"2016-02-16T21:33:50Z","updated_at":"2016-02-16T21:33:50Z","body":"nazwa metody nie mówi o jaki kontekst chodzi: dla HTML będą inne znaki specjalne niż dla URLa\r\n\r\nnp w HTMLu znakiem specjalnym jest `<` – gdy w URLu jest on bez problemu akceptowalny\r\n\r\nnp w URLu spacja nie może istnieć (powinna być zakodowana jako `%20`),  gdy w HTMLu możesz spokojnie wstawić ile ich tam chcesz\r\n\r\n---\r\n\r\nczyli jak masz taką metodę, warto, żeby wskazywała kontekst, czyli np `_html_escape()` czy też `_url_escape()`"}}