aboutsummaryrefslogtreecommitdiff
path: root/lib/index.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-07-17 16:42:40 +0100
committerMichael Williamson <mike@zwobble.org>2014-07-17 16:42:40 +0100
commitb3ad2d7dbebfbbcf40583fba0e44b7da6a6055fc (patch)
tree7619e0d8ed54d13d2152ddda25bc67e4480800df /lib/index.js
parentfa380c6232176c13120211594ff49e8bca5f149a (diff)
Fix typo
Diffstat (limited to 'lib/index.js')
-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")');
};