{"action":"created","issue":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2258","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2258/labels{/name}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2258/comments","events_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2258/events","html_url":"https://github.com/zestedesavoir/zds-site/pull/2258","id":56960887,"number":2258,"title":"Fix #454: Citer uniquement la sélection","user":{"login":"A-312","id":10801383,"avatar_url":"https://avatars.githubusercontent.com/u/10801383?v=3","gravatar_id":"","url":"https://api.github.com/users/A-312","html_url":"https://github.com/A-312","followers_url":"https://api.github.com/users/A-312/followers","following_url":"https://api.github.com/users/A-312/following{/other_user}","gists_url":"https://api.github.com/users/A-312/gists{/gist_id}","starred_url":"https://api.github.com/users/A-312/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/A-312/subscriptions","organizations_url":"https://api.github.com/users/A-312/orgs","repos_url":"https://api.github.com/users/A-312/repos","events_url":"https://api.github.com/users/A-312/events{/privacy}","received_events_url":"https://api.github.com/users/A-312/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/Evolution","name":"Evolution","color":"c7def8"},{"url":"https://api.github.com/repos/zestedesavoir/zds-site/labels/Front","name":"Front","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-08T18:08:53Z","updated_at":"2015-02-14T20:09:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2258","html_url":"https://github.com/zestedesavoir/zds-site/pull/2258","diff_url":"https://github.com/zestedesavoir/zds-site/pull/2258.diff","patch_url":"https://github.com/zestedesavoir/zds-site/pull/2258.patch"},"body":"| Q                         | R\r\n| ------------------------- | -------------------------------------------\r\n| Correction de bugs ?      | non\r\n| Nouvelle Fonctionnalité ? | oui\r\n| Tickets (_issues_) concernés         | #454 \r\n\r\nQuand on selectionne le contenu du message et qu'on clique sur \"citer\", la sélection est copié en markdown dans le textarea.\r\n\r\nLa sélection doit obligatoirement débuter dans le message, si la sélection dépasse elle est automatiquement arrêté à la fin du message.\r\n\r\nLe markdown généré peut-être légérement différent (de celui du message), mais l'affichage en HTML est identique."},"comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/comments/74389962","html_url":"https://github.com/zestedesavoir/zds-site/pull/2258#issuecomment-74389962","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2258","id":74389962,"user":{"login":"lethom","id":1141231,"avatar_url":"https://avatars.githubusercontent.com/u/1141231?v=3","gravatar_id":"","url":"https://api.github.com/users/lethom","html_url":"https://github.com/lethom","followers_url":"https://api.github.com/users/lethom/followers","following_url":"https://api.github.com/users/lethom/following{/other_user}","gists_url":"https://api.github.com/users/lethom/gists{/gist_id}","starred_url":"https://api.github.com/users/lethom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lethom/subscriptions","organizations_url":"https://api.github.com/users/lethom/orgs","repos_url":"https://api.github.com/users/lethom/repos","events_url":"https://api.github.com/users/lethom/events{/privacy}","received_events_url":"https://api.github.com/users/lethom/received_events","type":"User","site_admin":false},"created_at":"2015-02-14T20:09:02Z","updated_at":"2015-02-14T20:09:02Z","body":"Citer uniquement la selection, c'est cool. Mais dans ces cas-là, c'est souvent un passage très ciblé : pourquoi ne pas renoncer à récupérer le Markdown, avec tous les soucis que ça peut poser (qu'est-ce qui se passe par exemple si la sélection commence au milieu d'une emphase ?), et se contenter du texte brut ?\r\n\r\nSi le monsieur veut récupérer le markdown, alors il doit citer tout le message et hop."}}