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

waylan / Python-Markdown / 75 / 3

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

09 Sep 2014 02:37AM UTC coverage: 91.823%. Remained the same
TOXENV=py33

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.

2448 of 2666 relevant lines covered (91.82%)

0.92 hits per line

Source Files on job 75.3 (TOXENV=py33)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 75
  • Travis Job 75.3
  • b91a37be on github
  • Prev Job for TOXENV=py33 on master (#72.3)
  • Next Job for TOXENV=py33 on master (#76.3)
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