From e4c1748921c0e76cd9639cf494c55b852fef1f4d Mon Sep 17 00:00:00 2001 From: weyusi Date: Sun, 2 Jun 2019 17:20:05 +0930 Subject: [PATCH 1/2] chore(deps-dev): update hexo-renderer-marked requirement from ^0.3.0 to ^1.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3cf182ce70..3b03d373b4 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "eslint": "^5.9.0", "eslint-ci": "^1.0.0", "eslint-config-hexo": "^3.0.0", - "hexo-renderer-marked": "^0.3.0", + "hexo-renderer-marked": "^1.0.1", "husky": "^1.1.3", "istanbul": "^0.4.3", "lint-staged": "^8.1.0", From 1345eaff37b56740633c8e553a25ea4a6fd76150 Mon Sep 17 00:00:00 2001 From: weyusi Date: Sun, 2 Jun 2019 17:21:14 +0930 Subject: [PATCH 2/2] test: fix new line --- test/fixtures/post_render.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fixtures/post_render.js b/test/fixtures/post_render.js index 4ef8aeb7f4..68a60daecf 100644 --- a/test/fixtures/post_render.js +++ b/test/fixtures/post_render.js @@ -29,11 +29,11 @@ exports.content = content; exports.expected = [ '

Title

', util.highlight(code, {lang: 'python'}), - '\n

some content

\n', + '\n\n

some content

\n', '

Another title

', '
', '

quote content

\n', - '
\n', + '\n\n', '

quote content

\n', '
' ].join('');