byCedric / Commitlint-Formats

Extra formatters for commitlint
2 stars 1 forks source link

fix(junit): escape special characters to return valid xml #11

Closed byCedric closed 6 years ago

byCedric commented 6 years ago

Linked issue

After some manual testing in one of our internal projects, I encountered some unexpected behavior regarding XML and special characters. Now, all "input" is escaped to ensure a valid XML document.

codecov[bot] commented 6 years ago

Codecov Report

Merging #11 into develop will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff           @@
##           develop    #11   +/-   ##
======================================
  Coverage      100%   100%           
======================================
  Files            3      3           
  Lines           34     38    +4     
======================================
+ Hits            34     38    +4
Impacted Files Coverage Δ
packages/junit/src/junit.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fe2ece6...6748672. Read the comment docs.