Changeset: Add TODO comments for issues noticed

This commit is contained in:
Richard Hansen 2021-11-19 01:10:04 -05:00
parent f1eb7a25a6
commit 2fc06a0884
3 changed files with 10 additions and 0 deletions

View file

@ -2098,6 +2098,8 @@ exports.inverse = (cs, lines, alines, pool) => {
const oldValue = oldAttribs.get(key) || '';
if (oldValue !== value) backAttribs.set(key, oldValue);
}
// TODO: backAttribs does not restore removed attributes (it is missing attributes that
// are in oldAttribs but not in attribs). I don't know if that is intentional.
return backAttribs.toString();
});
consumeAttribRuns(csOp.chars, (len, attribs, endsLine) => {