From 42cc44c20fef893f2558f6d73ba7e199ebc3d48f Mon Sep 17 00:00:00 2001 From: ike-c <9206414+ike-c@users.noreply.github.com> Date: Sun, 14 Jul 2019 12:27:01 +0800 Subject: [PATCH] fix nested code block style --- lib/filter/post.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/filter/post.js b/lib/filter/post.js index 4ae6a84..d7d1f32 100644 --- a/lib/filter/post.js +++ b/lib/filter/post.js @@ -135,8 +135,8 @@ module.exports = function (data) { .wrap(bounded).wrap(table); // optimize code block - $$.children('.highlight') - .find('table').wrap('
'); + $('.highlight') + .children('table').wrap(''); // wrap