exist icon indicating copy to clipboard operation
exist copied to clipboard

[bugfix] omit newline after doctype with indent=no

Open line-o opened this issue 1 year ago • 5 comments

fixes #4736

Before

<!DOCTYPE html>
<option selected></option>

AFTER

<!DOCTYPE html><option selected></option>

line-o avatar Jul 16 '24 15:07 line-o

@dizzz yes I saw that too. I will push updates soon.

line-o avatar Jul 23 '24 15:07 line-o

Quality Gate Failed Quality Gate failed

Failed conditions
50.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

sonarqubecloud[bot] avatar Jul 25 '24 11:07 sonarqubecloud[bot]

If you load XML via doc() then the whitespace with newlines is recreated as stored. indent=no does not have an effect on persistent nodes themselves.

line-o avatar Aug 01 '24 07:08 line-o

@dizzzz this PR does only change the behaviour of the doctype.

line-o avatar Aug 01 '24 07:08 line-o

@line-o please could you rebase?

dizzzz avatar May 19 '25 18:05 dizzzz