Skip to content

Commit

Permalink
Merge pull request #742 from nature-of-code/fix/number-and-unit
Browse files Browse the repository at this point in the history
Combined number with unit in sentences in <li>
  • Loading branch information
jasongao97 authored Feb 11, 2024
2 parents db1445a + 64eaf42 commit 3fcad9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magicbook/plugins/paragraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Plugin.prototype = {
through.obj(function (file, _, cb) {
file.$el = file.$el || cheerio.load(file.contents.toString());

file.$el('p').each(function () {
file.$el('p,li').each(function () {
const paragraph = file.$el(this);
let html = paragraph.html();

Expand Down

0 comments on commit 3fcad9e

Please sign in to comment.