{"action":"created","issue":{"url":"https://api.github.com/repos/hexojs/hexo/issues/2318","repository_url":"https://api.github.com/repos/hexojs/hexo","labels_url":"https://api.github.com/repos/hexojs/hexo/issues/2318/labels{/name}","comments_url":"https://api.github.com/repos/hexojs/hexo/issues/2318/comments","events_url":"https://api.github.com/repos/hexojs/hexo/issues/2318/events","html_url":"https://github.com/hexojs/hexo/issues/2318","id":196279662,"number":2318,"title":"Can't use backtick code block in \"blockquote\" tag plugin","user":{"login":"seaoak","id":1160250,"avatar_url":"https://avatars2.githubusercontent.com/u/1160250?v=3","gravatar_id":"","url":"https://api.github.com/users/seaoak","html_url":"https://github.com/seaoak","followers_url":"https://api.github.com/users/seaoak/followers","following_url":"https://api.github.com/users/seaoak/following{/other_user}","gists_url":"https://api.github.com/users/seaoak/gists{/gist_id}","starred_url":"https://api.github.com/users/seaoak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seaoak/subscriptions","organizations_url":"https://api.github.com/users/seaoak/orgs","repos_url":"https://api.github.com/users/seaoak/repos","events_url":"https://api.github.com/users/seaoak/events{/privacy}","received_events_url":"https://api.github.com/users/seaoak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-18T14:52:19Z","updated_at":"2017-05-04T02:21:04Z","closed_at":"2017-05-04T02:21:04Z","body":"## Environment Info\r\n\r\n```\r\n$ hexo version\r\nhexo: 3.2.2\r\nhexo-cli: 1.0.2\r\nos: Linux 4.4.0-45-generic linux x64\r\nhttp_parser: 2.7.0\r\nnode: 6.9.1\r\nv8: 5.1.281.84\r\nuv: 1.9.1\r\nzlib: 1.2.8\r\nares: 1.10.1-DEV\r\nicu: 57.1\r\nmodules: 48\r\nopenssl: 1.0.2j\r\n$\r\n$ npm ls --depth 0\r\nhexo-site@0.0.0 /home/seaoak/blog/test\r\ntqq hexo@3.2.2\r\ntqq hexo-generator-archive@0.1.4\r\ntqq hexo-generator-category@0.1.3\r\ntqq hexo-generator-index@0.2.0\r\ntqq hexo-generator-tag@0.2.0\r\ntqq hexo-include@1.1.0\r\ntqq hexo-renderer-ejs@0.2.0\r\ntqq hexo-renderer-marked@0.2.11\r\ntqq hexo-renderer-stylus@0.3.1\r\nmqq hexo-server@0.2.0\r\n$\r\n$ (cd node_modules/hexo && git log HEAD~1...)\r\ncommit 1da7ad5c920fb16e182342c4acda7d8a94af31f9\r\nAuthor: Junliang Huang <JLHwung@users.noreply.github.com>\r\nDate:   Tue Dec 6 22:48:55 2016 +0800\r\n\r\n    appveyor: add node.js 7 testing environment (#2302)\r\n$\r\n$ perl -ne 'print if /^# Writing/.../^# Category/' _config.yml\r\n# Writing\r\nnew_post_name: :title.md # File name of new posts\r\ndefault_layout: post\r\ntitlecase: false # Transform title into titlecase\r\nexternal_link: true # Open external links in new tab\r\nfilename_case: 0\r\nrender_drafts: false\r\npost_asset_folder: true\r\nrelative_link: false\r\nfuture: true\r\nhighlight:\r\n  enable: true\r\n  line_number: true\r\n  auto_detect: false\r\n  tab_replace:\r\nfancybox: false\r\nmarked:\r\n  breaks: false\r\n\r\n# Category & Tag\r\n$\r\n```\r\n\r\n## For BUG\r\n\r\nWhen a backtick code block exists as contents of a \"blockquote\" tag plugin,\r\nit is translated to a string \"undefined\" in HTML.\r\n\r\nFor example, the following markdown text in a post:\r\n\r\n    {% blockquote %}\r\n    ```\r\n    This is a test.\r\n    ```\r\n    {% endblockquote %}\r\n\r\nis translated to HTML as follows:\r\n\r\n    <blockquote>undefined\r\n    </blockquote>\r\n\r\nBy the way, other inline markdown syntax is translated well.\r\n\r\nFor example, the following markdown text in a post:\r\n\r\n    {% blockquote %}\r\n    _aaa_\r\n    bbb\r\n    \r\n    ```\r\n    This is a test.\r\n    ```\r\n    \r\n    ccc\r\n    {% endblockquote %}\r\n\r\nis translated to HTML as follows:\r\n\r\n    <blockquote><p><em>aaa</em>\r\n    bbb</p>\r\n    undefined\r\n    <p>ccc</p>\r\n    </blockquote>\r\n\r\nI think this behavior is a bug.\r\n\r\np.s.  I have a patch for this issue (may make a pull request)."},"comment":{"url":"https://api.github.com/repos/hexojs/hexo/issues/comments/299083512","html_url":"https://github.com/hexojs/hexo/issues/2318#issuecomment-299083512","issue_url":"https://api.github.com/repos/hexojs/hexo/issues/2318","id":299083512,"user":{"login":"NoahDragon","id":5704064,"avatar_url":"https://avatars0.githubusercontent.com/u/5704064?v=3","gravatar_id":"","url":"https://api.github.com/users/NoahDragon","html_url":"https://github.com/NoahDragon","followers_url":"https://api.github.com/users/NoahDragon/followers","following_url":"https://api.github.com/users/NoahDragon/following{/other_user}","gists_url":"https://api.github.com/users/NoahDragon/gists{/gist_id}","starred_url":"https://api.github.com/users/NoahDragon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoahDragon/subscriptions","organizations_url":"https://api.github.com/users/NoahDragon/orgs","repos_url":"https://api.github.com/users/NoahDragon/repos","events_url":"https://api.github.com/users/NoahDragon/events{/privacy}","received_events_url":"https://api.github.com/users/NoahDragon/received_events","type":"User","site_admin":false},"created_at":"2017-05-04T02:21:04Z","updated_at":"2017-05-04T02:21:04Z","body":"Move discuss to the PR. #2321"}}
{"actor":{"display_login":"NoahDragon"}}