Correctly handle markers when parsing fields.

This commit is contained in:
Jeremy Maitin-Shepard 2016-01-29 22:26:35 -08:00 committed by Jeremy Maitin-Shepard
parent 4e24e69ada
commit 17ae9ab3d2

View file

@ -263,6 +263,7 @@ class FieldParagraph(RegularParagraph):
if self.words[0].startswith(':'):
accumulatedLength = 0
for word in self.words:
word = self.pointTracker.peek(word)
# Add the length of the word
accumulatedLength += len(word)
# Add the following space