Skip to content

Use regex instead escape method for !CDATA#69

Open
tititestor wants to merge 3 commits intopytest-dev:masterfrom
tititestor:master
Open

Use regex instead escape method for !CDATA#69
tititestor wants to merge 3 commits intopytest-dev:masterfrom
tititestor:master

Conversation

@tititestor
Copy link

Hi, and sorry for my English,

For CDATA in XML, "& , > , <" are allowed.
But escape method in xml.saxs.saxutils remove these characters.

So, I use regex to remove only code colors and now, the code of test is correct in test result in TFS.

BR,
Titi

@Sandpitturtleee
Copy link

Hi,
I also encountered this problem with redundant escapes in CDATA elements while publishing test results in TFS.
Fix proposed by tititestor works great and solves the problem. I hope that this pull request will be completed soon.
BR,
Sandpitturtleee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants