We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ca14f2 commit 89ed4e4Copy full SHA for 89ed4e4
src/wxss/css_tree_lib/css_syntax_tree.cpp
@@ -38,7 +38,7 @@ namespace WXSS
38
if (
39
i
40
&& cur->offset_164 > this->offset_120[i - 1]->offset_168
41
- && a2[a2.length() - 1] != '\n'
+ && (a2.length() == 0 || a2[a2.length() - 1] != '\n')
42
)
43
{
44
a2 += " ";
0 commit comments