From 782417f12f2fcfb157760c5ce6d435aac1f3fd62 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 22 Apr 2014 18:56:47 +0100 Subject: Show style name when emitted unknown paragraph style warning --- lib/document-to-html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/document-to-html.js b/lib/document-to-html.js index 347504b..4559155 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -62,7 +62,7 @@ function DocumentConverter(options) { return style.to; } else { if (element.styleId) { - messages.push(results.warning("Unrecognised paragraph style: " + element.styleId)); + messages.push(results.warning("Unrecognised paragraph style: '" + element.styleName + "'")); } return defaultParagraphStyle; } -- cgit v1.2.3