diff options
-rw-r--r-- | markdown/tests/plugins.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/tests/plugins.py b/markdown/tests/plugins.py index ce06c3f..acd1eaf 100644 --- a/markdown/tests/plugins.py +++ b/markdown/tests/plugins.py @@ -75,7 +75,7 @@ or "")) 'errors=%d' % len(result.errors)]) for cls in result.errorClasses.keys(): storage, label, isfail = result.errorClasses[cls] - if isfail: + if len(storage): self.html.append(' %ss=%d' % (label, len(storage))) self.html.append(')</span>') else: |