Skip to content

Commit

Permalink
fix nested code block style
Browse files Browse the repository at this point in the history
  • Loading branch information
ikeq committed Jul 14, 2019
1 parent 0f75794 commit 42cc44c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/filter/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ module.exports = function (data) {
.wrap(bounded).wrap(table);

// optimize code block
$$.children('.highlight')
.find('table').wrap('<div></div>');
$('.highlight')
.children('table').wrap('<div></div>');

// wrap <script> with <div class="is-snippet">
$$.children('script').each(function () {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-inside",
"version": "2.3.0-rc.0",
"version": "2.3.0-rc.1",
"description": "❤️ SPA, flat and clean theme for Hexo.",
"scripts": {
"test": "jasmine --config=test/jasmine.json"
Expand Down

0 comments on commit 42cc44c

Please sign in to comment.