From 6bb08960ce155202049ab505cb456b740462a974 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 22 Apr 2014 19:02:00 +0100 Subject: Include style ID in warning --- lib/document-to-html.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/document-to-html.js b/lib/document-to-html.js index bd3a3d6..4f38b9d 100644 --- a/lib/document-to-html.js +++ b/lib/document-to-html.js @@ -148,5 +148,8 @@ function DocumentConverter(options) { } function unrecognisedStyleWarning(type, element) { - return results.warning("Unrecognised " + type + " style: '" + element.styleName + "'"); + return results.warning( + "Unrecognised " + type + " style: '" + element.styleName + "'" + + " (Style ID: " + element.styleId + ")" + ); } -- cgit v1.2.3