diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-04-22 19:02:00 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-04-22 19:02:00 +0100 |
| commit | 6bb08960ce155202049ab505cb456b740462a974 (patch) | |
| tree | cb8d78d5febf95cb55f05e69f5dfcba0819f635c /lib | |
| parent | ed8fdc9e31d6c60529bf6c8c6bd1bd81b1ca6153 (diff) | |
Include style ID in warning
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/document-to-html.js | 5 |
1 files changed, 4 insertions, 1 deletions
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 + ")" + ); } |
