textile / python-textile

A Python port of Textile, A humane web text generator
Other
68 stars 23 forks source link

avoid IndexError when strings contain only whitespace #41

Closed brad closed 7 years ago

brad commented 7 years ago

Hi folks, This PR is to fix #40

codecov-io commented 7 years ago

Codecov Report

Merging #41 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #41   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          12     12           
  Lines        1197   1197           
  Branches      212    212           
=====================================
  Hits         1197   1197
Impacted Files Coverage Δ
textile/core.py 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f2a9408...3ebf7c4. Read the comment docs.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 97.577% when pulling 3ebf7c47a5b5a472c91f559f1cde9cd8dc8ffc9c on orcasgit:almost-empty into f2a9408cdeea585861d76f6fa85e1ba37c9d011f on textile:master.

sebix commented 7 years ago

Thanks for your report and pull request!

I pushed your fix to develop in c7f1e7a81485b396297a3efdba969032130ab57c