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

fix(report): serialize text node report #1158

Merged
merged 5 commits into from
Aug 17, 2020
Merged

Conversation

AirQuick
Copy link
Member

Fixes #1155

Text nodes are reported as they are. Hence a text node &lt;p&gt; looks as if it were an element <p>. This pull request fixes it by applying serialize() when reporting text nodes.

After this fix, #1155 should look like this:
fixed

# Conflicts:
#	test/end-to-end/cases/expected/query/serialize-result.html
#	test/end-to-end/cases/expected/stylesheet/serialize-result.html
@AirQuick AirQuick merged commit 1cbd91b into xspec:master Aug 17, 2020
@AirQuick AirQuick deleted the fix_issue-1155 branch August 17, 2020 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Indentation not present in expected output flagged as difference in comparison
1 participant