Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Namespace and attribute nodes are serialized with misaligned indentation #689

Closed
AirQuick opened this issue Oct 24, 2019 · 0 comments · Fixed by #690
Closed

Namespace and attribute nodes are serialized with misaligned indentation #689

AirQuick opened this issue Oct 24, 2019 · 0 comments · Fixed by #690
Assignees
Labels
Milestone

Comments

@AirQuick
Copy link
Member

These scenarios

<x:scenario label="test">
	<x:call function="exactly-one">
		<x:param>
			<looooooooooooooooooooooooooooooooooong>
				<test xmlns="ns" xmlns:ns1="ns1" xmlns:ns2="ns2" xmlns:ns3="ns3">
					<a />
				</test>
			</looooooooooooooooooooooooooooooooooong>
		</x:param>
	</x:call>
	<x:expect label="test" test="false()" />
</x:scenario>

<x:scenario label="test">
	<x:call function="exactly-one">
		<x:param>
			<looooooooooooooooooooooooooooooooooong>
				<test attr1="val1" attr2="val2" attr3="val3">
					<a />
				</test>
			</looooooooooooooooooooooooooooooooooong>
		</x:param>
	</x:call>
	<x:expect label="test" test="false()" />
</x:scenario>

are serialized in the report HTML as follows:

<looooooooooooooooooooooooooooooooooong>
   <test xmlns="ns"
                                          xmlns:ns1="ns1"
                                          xmlns:ns2="ns2"
                                          xmlns:ns3="ns3">
      <a />
   </test>
</looooooooooooooooooooooooooooooooooong>
<looooooooooooooooooooooooooooooooooong>
   <test attr1="val1"
                                          attr2="val2"
                                          attr3="val3">
      <a />
   </test>
</looooooooooooooooooooooooooooooooooong>

Same on v0.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant