diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-04-22 18:56:47 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-04-22 18:56:47 +0100 |
| commit | 782417f12f2fcfb157760c5ce6d435aac1f3fd62 (patch) | |
| tree | 70115de8d5d77449f634929cf7c116e43fb00323 /lib | |
| parent | 4f251acc131f57a4f160cb919a3cef9350215d01 (diff) | |
Show style name when emitted unknown paragraph style warning
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/document-to-html.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
