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

mity / md4c / 102
87%

Build:
DEFAULT BRANCH: master
Ran 07 Dec 2016 11:07PM UTC
Jobs 1
Files 2
Run time 0s
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

pending completion
102

push

travis-ci

mity
Handle images more like links.

Remove MD_SPAN_IMG_DETAIL::alt. Instead, the contents of the image is
propagated to the renderer via MD_RENDERER::text() callback.

 * This fixes handling of entities inside the image text (issue #4).
 * It simplifies parsing and, more importantly, it better distingusshes
   what is responsibility of parser or renderer respectively.
 * This allows more flexibility on renderers side. Renderer who do not
 * really support images can just output the image content as any
   other text.

The cost is a renderer into HTML (if it wants to render image contents
into the attribute ALT of the IMG tag), has to handle images with more
care. Typically such renderer has to track whether it is inside an image,
and if so, then render span enter/leave as an empty string.

1828 of 1985 relevant lines covered (92.09%)

361.06 hits per line

Jobs
ID Job ID Ran Files Coverage
1 102.1 07 Dec 2016 11:07PM UTC 0
92.09
Travis Job 102.1
Source Files on build 102
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #102
  • 09ae8609 on github
  • Prev Build on master (#101)
  • Next Build on master (#103)
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