• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

markdown-it / markdown-it / 7110158800
100%

Build:
DEFAULT BRANCH: master
Ran 06 Dec 2023 04:25AM UTC
Jobs 1
Files 53
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Dec 2023 04:24AM UTC coverage: 99.817%. Remained the same
7110158800

push

github

web-flow
Render html tags inside img alt as their original text (#979)

Spec is not clear on how to handle this. Three variations exist:

```
$ echo '![text <textarea> text](image.png)' | /home/user/commonmark.js/bin/commonmark
<p><img src="image.png" alt="text <textarea> text" /></p>

$ echo '![text <textarea> text](image.png)' | /home/user/cmark/build/src/cmark
<p><img src="image.png" alt="text &lt;textarea&gt; text" /></p>

$ echo '![text <textarea> text](image.png)' | /home/user/.local/bin/commonmark
<p><img src="image.png" alt="text  text" /></p>
```

Prior to this commit:
 - when HTML tags are enabled, tags were removed (as in Haskell version)
 - when HTML tags are disabled, tags were escaped (as in C version)

After this commit:
 - tags will be escaped (as in C version) regardless of HTML flag

+ render hardbreaks as newlines, same as cmark

1662 of 1671 branches covered (0.0%)

17 of 17 new or added lines in 1 file covered. (100.0%)

6005 of 6016 relevant lines covered (99.82%)

206973.69 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7110158800.1 06 Dec 2023 04:25AM UTC 0
99.82
GitHub Action Run
Source Files on build 7110158800
Detailed source file information is not available for this build.
  • Back to Repo
  • d9885bad on github
  • Prev Build on es6 (#7067473939)
  • Next Build on master (#7129225346)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc