{"action":"created","comment":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/29339029","id":29339029,"diff_hunk":"@@ -3233,7 +3242,12 @@ def mep(tutorial, sha):\n         else:\n             is_js = \"\"\n         if md_file_contenu is not None:\n-            html_file.write(emarkdown(md_file_contenu, is_js))\n+            try:\n+                html_file.write(emarkdown(md_file_contenu, is_js))","path":"zds/tutorial/views.py","position":63,"original_position":63,"commit_id":"353d68c6a33dc353b2f5caa3b412ca2912d8045c","original_commit_id":"353d68c6a33dc353b2f5caa3b412ca2912d8045c","user":{"login":"GerardPaligot","id":1913901,"avatar_url":"https://avatars.githubusercontent.com/u/1913901?v=3","gravatar_id":"","url":"https://api.github.com/users/GerardPaligot","html_url":"https://github.com/GerardPaligot","followers_url":"https://api.github.com/users/GerardPaligot/followers","following_url":"https://api.github.com/users/GerardPaligot/following{/other_user}","gists_url":"https://api.github.com/users/GerardPaligot/gists{/gist_id}","starred_url":"https://api.github.com/users/GerardPaligot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GerardPaligot/subscriptions","organizations_url":"https://api.github.com/users/GerardPaligot/orgs","repos_url":"https://api.github.com/users/GerardPaligot/repos","events_url":"https://api.github.com/users/GerardPaligot/events{/privacy}","received_events_url":"https://api.github.com/users/GerardPaligot/received_events","type":"User","site_admin":false},"body":"Ok, la raison me semble tout à fait cohérente.","created_at":"2015-04-29T14:13:25Z","updated_at":"2015-04-29T14:13:25Z","html_url":"https://github.com/zestedesavoir/zds-site/pull/2585#discussion_r29339029","pull_request_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2585","_links":{"self":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments/29339029"},"html":{"href":"https://github.com/zestedesavoir/zds-site/pull/2585#discussion_r29339029"},"pull_request":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2585"}}},"pull_request":{"url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2585","id":33820120,"html_url":"https://github.com/zestedesavoir/zds-site/pull/2585","diff_url":"https://github.com/zestedesavoir/zds-site/pull/2585.diff","patch_url":"https://github.com/zestedesavoir/zds-site/pull/2585.patch","issue_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2585","number":2585,"state":"open","locked":false,"title":"[hotfix] stopper les erreurs unicodes générées par la validation","user":{"login":"pierre-24","id":7889675,"avatar_url":"https://avatars.githubusercontent.com/u/7889675?v=3","gravatar_id":"","url":"https://api.github.com/users/pierre-24","html_url":"https://github.com/pierre-24","followers_url":"https://api.github.com/users/pierre-24/followers","following_url":"https://api.github.com/users/pierre-24/following{/other_user}","gists_url":"https://api.github.com/users/pierre-24/gists{/gist_id}","starred_url":"https://api.github.com/users/pierre-24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierre-24/subscriptions","organizations_url":"https://api.github.com/users/pierre-24/orgs","repos_url":"https://api.github.com/users/pierre-24/repos","events_url":"https://api.github.com/users/pierre-24/events{/privacy}","received_events_url":"https://api.github.com/users/pierre-24/received_events","type":"User","site_admin":false},"body":"| Q                         | R\r\n| ------------------------- | -------------------------------------------\r\n| Correction de bugs ?      | oui\r\n| Nouvelle Fonctionnalité ? | non\r\n| Tickets (_issues_) concernés         | #2584 \r\n\r\n(je ne sais pas si c'est un vrai bugfix à faire en prod' ou si c'est un bêtafix, donc corrigez moi si nécessaire).\r\n\r\n# Note de QA\r\n\r\n**DOWNGRADEZ VOTRE VERSION DE MARKDOWN SUR LA VERSION ACTUELEMENT EN PROD OU VOUS NE SAUREZ PAS REPRODUIRE LE PROBLEME**\r\n\r\n+ Créez un article et, pour texte, écrivez : `![cette image va planter](http://fr.wikipedia.org/wiki/Clémentine.png) et [ce lien va rater](http://fr.wikipedia.org/wiki/Clémentine) ` (paradoxal, non ?). Vérifiez ensuite que markdown n'est pas content\r\n+ Tentez quand même de valider l'article et vérifiez que vous êtes bien arrêté avant la fin par un message d'erreur qui vous dit que quelque chose ne va pas dans le code markdown.\r\n+ Faites de même avec un tutoriel, mais cette fois, vérifiez que vous êtes également empêché de publier si l'erreur se trouve dans une introduction/conclusion\r\n\r\n**Note:** puisque ce bug exploite un bug dans le markdown qui devrait disparaitre à un moment ou un autre, il va être quasiment impossible d'écrire un T.U., sauf si quelqu'un a une idée.","created_at":"2015-04-22T02:01:49Z","updated_at":"2015-04-29T14:13:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8e21dc0bcd03ab674c37239192f036acb6efc4b2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2585/commits","review_comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2585/comments","review_comment_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2585/comments","statuses_url":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/353d68c6a33dc353b2f5caa3b412ca2912d8045c","head":{"label":"pierre-24:bugfix_publication","ref":"bugfix_publication","sha":"353d68c6a33dc353b2f5caa3b412ca2912d8045c","user":{"login":"pierre-24","id":7889675,"avatar_url":"https://avatars.githubusercontent.com/u/7889675?v=3","gravatar_id":"","url":"https://api.github.com/users/pierre-24","html_url":"https://github.com/pierre-24","followers_url":"https://api.github.com/users/pierre-24/followers","following_url":"https://api.github.com/users/pierre-24/following{/other_user}","gists_url":"https://api.github.com/users/pierre-24/gists{/gist_id}","starred_url":"https://api.github.com/users/pierre-24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierre-24/subscriptions","organizations_url":"https://api.github.com/users/pierre-24/orgs","repos_url":"https://api.github.com/users/pierre-24/repos","events_url":"https://api.github.com/users/pierre-24/events{/privacy}","received_events_url":"https://api.github.com/users/pierre-24/received_events","type":"User","site_admin":false},"repo":{"id":20864390,"name":"zds-site","full_name":"pierre-24/zds-site","owner":{"login":"pierre-24","id":7889675,"avatar_url":"https://avatars.githubusercontent.com/u/7889675?v=3","gravatar_id":"","url":"https://api.github.com/users/pierre-24","html_url":"https://github.com/pierre-24","followers_url":"https://api.github.com/users/pierre-24/followers","following_url":"https://api.github.com/users/pierre-24/following{/other_user}","gists_url":"https://api.github.com/users/pierre-24/gists{/gist_id}","starred_url":"https://api.github.com/users/pierre-24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierre-24/subscriptions","organizations_url":"https://api.github.com/users/pierre-24/orgs","repos_url":"https://api.github.com/users/pierre-24/repos","events_url":"https://api.github.com/users/pierre-24/events{/privacy}","received_events_url":"https://api.github.com/users/pierre-24/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pierre-24/zds-site","description":"Dépot ZDS","fork":true,"url":"https://api.github.com/repos/pierre-24/zds-site","forks_url":"https://api.github.com/repos/pierre-24/zds-site/forks","keys_url":"https://api.github.com/repos/pierre-24/zds-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pierre-24/zds-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pierre-24/zds-site/teams","hooks_url":"https://api.github.com/repos/pierre-24/zds-site/hooks","issue_events_url":"https://api.github.com/repos/pierre-24/zds-site/issues/events{/number}","events_url":"https://api.github.com/repos/pierre-24/zds-site/events","assignees_url":"https://api.github.com/repos/pierre-24/zds-site/assignees{/user}","branches_url":"https://api.github.com/repos/pierre-24/zds-site/branches{/branch}","tags_url":"https://api.github.com/repos/pierre-24/zds-site/tags","blobs_url":"https://api.github.com/repos/pierre-24/zds-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pierre-24/zds-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pierre-24/zds-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/pierre-24/zds-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pierre-24/zds-site/statuses/{sha}","languages_url":"https://api.github.com/repos/pierre-24/zds-site/languages","stargazers_url":"https://api.github.com/repos/pierre-24/zds-site/stargazers","contributors_url":"https://api.github.com/repos/pierre-24/zds-site/contributors","subscribers_url":"https://api.github.com/repos/pierre-24/zds-site/subscribers","subscription_url":"https://api.github.com/repos/pierre-24/zds-site/subscription","commits_url":"https://api.github.com/repos/pierre-24/zds-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/pierre-24/zds-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/pierre-24/zds-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/pierre-24/zds-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/pierre-24/zds-site/contents/{+path}","compare_url":"https://api.github.com/repos/pierre-24/zds-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pierre-24/zds-site/merges","archive_url":"https://api.github.com/repos/pierre-24/zds-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pierre-24/zds-site/downloads","issues_url":"https://api.github.com/repos/pierre-24/zds-site/issues{/number}","pulls_url":"https://api.github.com/repos/pierre-24/zds-site/pulls{/number}","milestones_url":"https://api.github.com/repos/pierre-24/zds-site/milestones{/number}","notifications_url":"https://api.github.com/repos/pierre-24/zds-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pierre-24/zds-site/labels{/name}","releases_url":"https://api.github.com/repos/pierre-24/zds-site/releases{/id}","created_at":"2014-06-15T20:16:21Z","updated_at":"2015-04-16T02:10:03Z","pushed_at":"2015-04-29T13:37:23Z","git_url":"git://github.com/pierre-24/zds-site.git","ssh_url":"git@github.com:pierre-24/zds-site.git","clone_url":"https://github.com/pierre-24/zds-site.git","svn_url":"https://github.com/pierre-24/zds-site","homepage":null,"size":83476,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"zestedesavoir:prod","ref":"prod","sha":"9f4375226716880b44525463b9c876eb9e680bbc","user":{"login":"zestedesavoir","id":7406239,"avatar_url":"https://avatars.githubusercontent.com/u/7406239?v=3","gravatar_id":"","url":"https://api.github.com/users/zestedesavoir","html_url":"https://github.com/zestedesavoir","followers_url":"https://api.github.com/users/zestedesavoir/followers","following_url":"https://api.github.com/users/zestedesavoir/following{/other_user}","gists_url":"https://api.github.com/users/zestedesavoir/gists{/gist_id}","starred_url":"https://api.github.com/users/zestedesavoir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestedesavoir/subscriptions","organizations_url":"https://api.github.com/users/zestedesavoir/orgs","repos_url":"https://api.github.com/users/zestedesavoir/repos","events_url":"https://api.github.com/users/zestedesavoir/events{/privacy}","received_events_url":"https://api.github.com/users/zestedesavoir/received_events","type":"Organization","site_admin":false},"repo":{"id":14778920,"name":"zds-site","full_name":"zestedesavoir/zds-site","owner":{"login":"zestedesavoir","id":7406239,"avatar_url":"https://avatars.githubusercontent.com/u/7406239?v=3","gravatar_id":"","url":"https://api.github.com/users/zestedesavoir","html_url":"https://github.com/zestedesavoir","followers_url":"https://api.github.com/users/zestedesavoir/followers","following_url":"https://api.github.com/users/zestedesavoir/following{/other_user}","gists_url":"https://api.github.com/users/zestedesavoir/gists{/gist_id}","starred_url":"https://api.github.com/users/zestedesavoir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zestedesavoir/subscriptions","organizations_url":"https://api.github.com/users/zestedesavoir/orgs","repos_url":"https://api.github.com/users/zestedesavoir/repos","events_url":"https://api.github.com/users/zestedesavoir/events{/privacy}","received_events_url":"https://api.github.com/users/zestedesavoir/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zestedesavoir/zds-site","description":"Dépot ZDS","fork":false,"url":"https://api.github.com/repos/zestedesavoir/zds-site","forks_url":"https://api.github.com/repos/zestedesavoir/zds-site/forks","keys_url":"https://api.github.com/repos/zestedesavoir/zds-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zestedesavoir/zds-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zestedesavoir/zds-site/teams","hooks_url":"https://api.github.com/repos/zestedesavoir/zds-site/hooks","issue_events_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/events{/number}","events_url":"https://api.github.com/repos/zestedesavoir/zds-site/events","assignees_url":"https://api.github.com/repos/zestedesavoir/zds-site/assignees{/user}","branches_url":"https://api.github.com/repos/zestedesavoir/zds-site/branches{/branch}","tags_url":"https://api.github.com/repos/zestedesavoir/zds-site/tags","blobs_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/{sha}","languages_url":"https://api.github.com/repos/zestedesavoir/zds-site/languages","stargazers_url":"https://api.github.com/repos/zestedesavoir/zds-site/stargazers","contributors_url":"https://api.github.com/repos/zestedesavoir/zds-site/contributors","subscribers_url":"https://api.github.com/repos/zestedesavoir/zds-site/subscribers","subscription_url":"https://api.github.com/repos/zestedesavoir/zds-site/subscription","commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/zestedesavoir/zds-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/zestedesavoir/zds-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/zestedesavoir/zds-site/contents/{+path}","compare_url":"https://api.github.com/repos/zestedesavoir/zds-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zestedesavoir/zds-site/merges","archive_url":"https://api.github.com/repos/zestedesavoir/zds-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zestedesavoir/zds-site/downloads","issues_url":"https://api.github.com/repos/zestedesavoir/zds-site/issues{/number}","pulls_url":"https://api.github.com/repos/zestedesavoir/zds-site/pulls{/number}","milestones_url":"https://api.github.com/repos/zestedesavoir/zds-site/milestones{/number}","notifications_url":"https://api.github.com/repos/zestedesavoir/zds-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zestedesavoir/zds-site/labels{/name}","releases_url":"https://api.github.com/repos/zestedesavoir/zds-site/releases{/id}","created_at":"2013-11-28T14:23:48Z","updated_at":"2015-04-28T21:37:41Z","pushed_at":"2015-04-29T13:37:24Z","git_url":"git://github.com/zestedesavoir/zds-site.git","ssh_url":"git@github.com:zestedesavoir/zds-site.git","clone_url":"https://github.com/zestedesavoir/zds-site.git","svn_url":"https://github.com/zestedesavoir/zds-site","homepage":null,"size":164116,"stargazers_count":91,"watchers_count":91,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":84,"mirror_url":null,"open_issues_count":223,"forks":84,"open_issues":223,"watchers":91,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2585"},"html":{"href":"https://github.com/zestedesavoir/zds-site/pull/2585"},"issue":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2585"},"comments":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/issues/2585/comments"},"review_comments":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2585/comments"},"review_comment":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/pulls/2585/commits"},"statuses":{"href":"https://api.github.com/repos/zestedesavoir/zds-site/statuses/353d68c6a33dc353b2f5caa3b412ca2912d8045c"}}}}