From b3ad2d7dbebfbbcf40583fba0e44b7da6a6055fc Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 17 Jul 2014 16:42:40 +0100 Subject: Fix typo --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")'); }; -- cgit v1.2.3