We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4221337 commit 509316eCopy full SHA for 509316e
textile/core.py
@@ -346,8 +346,12 @@ def fTextileList(self, match):
346
# This will only increment the count for list items, not
347
# definition items
348
if showitem:
349
+ # Assume properly formatted input
350
try:
351
self.olstarts[tl] = self.olstarts[tl] + 1
352
+ # if we get here, we've got some poor textile formatting.
353
+ # add this type of list to olstarts and assume we'llstart
354
+ # it at 1. expect screwy output.
355
except KeyError:
356
self.olstarts[tl] = 1
357
0 commit comments