aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/index.js b/lib/index.js
index ea52372..442c8a7 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -46,5 +46,5 @@ function convertElementToRawText(element) {
}
exports.styleMapping = function() {
- throw new Error('Use a raw string instead of mammoth.styleMapping e.g. "p[style-naming=\'Title\'] => h1" instead of mammoth.styleMapping("p[style-naming=\'Title\'] => h1")');
+ throw new Error('Use a raw string instead of mammoth.styleMapping e.g. "p[style-name=\'Title\'] => h1" instead of mammoth.styleMapping("p[style-name=\'Title\'] => h1")');
};