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

waylan / Python-Markdown / 75

Build:
DEFAULT BRANCH: master
Ran 09 Sep 2014 02:49AM UTC
Jobs 4
Files 29
Run time 43s
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
75

push

travis-ci

waylan
Code Blocks must always be AtomicStrings

Fixes #340. The "inline" TreeProcessor runs before the "prettify"
TreeProcessor, but the "smarty" TreeProcessor (wich is just another
instance of `InlineProcessor`) runs after the "prettify" TreeProcessor.
The problem was that the "prettify" TreeProcessor was losing the
AtomicString quality of the text of code blocks (any operation
on a string creates a new string. When that string is an AtomicString,
the new string must explicitly be declared as an AtomicString.
As the "prettify" TreeProcessor cleans up newlines on code blocks,
it was changing the AtomicString to a normal string. And as
`InlineProcessor` identifies what elements to skip solely by whether
the text is an AtomicString, the "smarty" instance was running on
code blocks.

Importantly, I added a test of code blocks and spans for smarty,
so this shouldn't break again.

2451 of 2666 relevant lines covered (91.94%)

3.67 hits per line

Jobs
ID Job ID Ran Files Coverage
1 75.1 (TOXENV=py27) 09 Sep 2014 02:49AM UTC 0
91.71
Travis Job 75.1
2 75.2 (TOXENV=py32) 09 Sep 2014 02:49AM UTC 0
91.82
Travis Job 75.2
3 75.3 (TOXENV=py33) 09 Sep 2014 02:49AM UTC 0
91.82
Travis Job 75.3
4 75.4 (TOXENV=py34) 09 Sep 2014 02:49AM UTC 0
91.82
Travis Job 75.4
Source Files on build 75
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #75
  • b91a37be on github
  • Prev Build on master (#72)
  • Next Build on master (#76)
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