gotwarlost / istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
8.7k stars 787 forks source link

Details page shows corrupted styles #737

Open LeoAref opened 7 years ago

LeoAref commented 7 years ago

As you see below the details pages shows corrupted styles, and the first investigation showed that the problem is due to incorrectly closing the span elements

For example this line

<span class="cstat-no" title="statement not covered" >        t</span>his.doc.setFontSize(10);

Should be

<span class="cstat-no" title="statement not covered" >        this.doc.setFontSize(10);</span>
screen shot 2016-12-10 at 21 36 24