Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
typescript
json2html
Commits
04e60efb
Commit
04e60efb
authored
Oct 19, 2020
by
Zéfling
🎨
Browse files
Fix attributes 'space' mode
parent
60dc567b
Changes
1
Hide whitespace changes
Inline
Side-by-side
projects/json2html/src/lib/json2html.ts
View file @
04e60efb
...
...
@@ -149,7 +149,7 @@ export class Json2html {
case
'
space
'
:
attr
+=
string
&&
this
.
options
.
indent
&&
this
.
_hasMultiline
()
?
`\n
${
this
.
_getSpacing
(
lvl
+
1
)}
`
:
string
+=
'
'
;
:
'
'
;
break
;
case
'
alignTag
'
:
attr
+=
string
&&
this
.
options
.
indent
&&
this
.
_hasMultiline
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment