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

Significant whitespace-only text node in the report HTML does not have style #386

Closed
AirQuick opened this issue Sep 28, 2018 · 0 comments · Fixed by #387
Closed

Significant whitespace-only text node in the report HTML does not have style #386

AirQuick opened this issue Sep 28, 2018 · 0 comments · Fixed by #387
Labels

Comments

@AirQuick
Copy link
Member

	<x:scenario label="Test">
		<x:call function="one-or-more">
			<x:param>
				<ordinary-text>foo</ordinary-text>
				<whitespace-only-text xml:space="preserve">&#x09;&#x0A;&#x0D;&#x20;</whitespace-only-text>
			</x:param>
		</x:call>
		<x:expect label="Fail deliberately" />
	</x:scenario>

In the report HTML, /whitespace-only-text/text() is not highlighted whereas /ordinary-text/text() is highlighted by the diff class. They should work in the same way.

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