Commit 04e60efb authored by Zéfling's avatar Zéfling 🎨
Browse files

Fix attributes 'space' mode

parent 60dc567b
...@@ -149,7 +149,7 @@ export class Json2html { ...@@ -149,7 +149,7 @@ export class Json2html {
case 'space': case 'space':
attr += string && this.options.indent && this._hasMultiline() attr += string && this.options.indent && this._hasMultiline()
? `\n${this._getSpacing(lvl + 1)}` ? `\n${this._getSpacing(lvl + 1)}`
: string += ' '; : ' ';
break; break;
case 'alignTag': case 'alignTag':
attr += string && this.options.indent && this._hasMultiline() attr += string && this.options.indent && this._hasMultiline()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment