docrev 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/rev.js +5 -0
- package/package.json +1 -1
package/bin/rev.js
CHANGED
|
@@ -1568,6 +1568,11 @@ program
|
|
|
1568
1568
|
config.docx.toc = true;
|
|
1569
1569
|
}
|
|
1570
1570
|
|
|
1571
|
+
// For --dual mode, the clean DOCX should have no comments
|
|
1572
|
+
if (options.dual) {
|
|
1573
|
+
config.docx.keepComments = false;
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1571
1576
|
// Handle --show-changes mode (audit export)
|
|
1572
1577
|
if (options.showChanges) {
|
|
1573
1578
|
if (!targetFormats.includes('docx') && !targetFormats.includes('all')) {
|