Open bangzek opened 7 years ago
For more realistic use:
index.sgr
p
b a
|
| b
|
i c
Should be:
<p><b>a</b>
b
<i>c</i></p>
But got:
<p><b>a</b>b
<i>c</i></p>
Thanks for filing this clear issue! Would you like to take a stab at fixing it?
Will try
From my short try I can conclude:
So either the bug in the way sugarml produces reshape AST or we must make big change in the way beautify reindent.
Will try it again later.
Specifically newline before text.
test.js
index.sgr
When I run it:
It should be: