Closed Cruglk closed 3 years ago
@tbela99, Thanks for the previous fixes! And sorry, but I am writing again with found problems.
2 problems.
Code:
$test = '#test .test2{}#test3 .test4{color:scroll;}';
Result:
#test .test2 { } }#test3 .test4 { color: scroll }
An extra character "}" appears after an empty style (no space).
Quotes again (any param in tag):
$test = 'div[data-elem-id="1587819236980"]{background:red;}';
div[data-elem-id=1587819236980] { background: red }
Correct:
div[data-elem-id="1587819236980"]{ background:red; }
HTML for test:
<div data-elem-id="1587819236980"> test </div>
all issues are fixed
thanks
@tbela99, Thanks for the previous fixes! And sorry, but I am writing again with found problems.
2 problems.
Code:
Result:
An extra character "}" appears after an empty style (no space).
Quotes again (any param in tag):
Result:
Correct:
HTML for test: