Skip to content

Commit 9bad1d0

Browse files
webzwo0irhansen
authored andcommitted
importHtml: do not add an useless identity changeset
1 parent f7f5e3d commit 9bad1d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node/utils/ImportHtml.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,5 @@ exports.setPadHTML = async (pad, html) => {
9595

9696
apiLogger.debug(`The changeset: ${theChangeset}`);
9797
await pad.setText('\n');
98-
await pad.appendRevision(theChangeset);
98+
if (!Changeset.isIdentity(theChangeset)) await pad.appendRevision(theChangeset);
9999
};

0 commit comments

Comments
 (0)