aboutsummaryrefslogtreecommitdiff
path: root/lib/writers
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-06-28 21:51:50 +0100
committerMichael Williamson <mike@zwobble.org>2016-06-28 21:51:50 +0100
commit4b13398d9f4fc303d22fc24aac519113941b032c (patch)
tree7422aa51b30de16ff9a90fb8863f1503ef755642 /lib/writers
parentd046c4297a04b6eecadf01093382b72bb1b71032 (diff)
Add stylistic eslint rules
Diffstat (limited to 'lib/writers')
-rw-r--r--lib/writers/markdown-writer.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/writers/markdown-writer.js b/lib/writers/markdown-writer.js
index 079d924..4284532 100644
--- a/lib/writers/markdown-writer.js
+++ b/lib/writers/markdown-writer.js
@@ -98,7 +98,9 @@ function markdownWriter() {
function open(tagName, attributes) {
attributes = attributes || {};
- var createElement = htmlToMarkdown[tagName] || function() { return {}; };
+ var createElement = htmlToMarkdown[tagName] || function() {
+ return {};
+ };
var element = createElement(attributes, list, listItem);
elementStack.push({end: element.end, list: list});