mirror of
https://github.com/vale981/python-docstring-mode
synced 2025-03-05 09:31:43 -05:00
Correctly handle markers when parsing fields.
This commit is contained in:
parent
4e24e69ada
commit
17ae9ab3d2
1 changed files with 1 additions and 0 deletions
|
@ -263,6 +263,7 @@ class FieldParagraph(RegularParagraph):
|
||||||
if self.words[0].startswith(':'):
|
if self.words[0].startswith(':'):
|
||||||
accumulatedLength = 0
|
accumulatedLength = 0
|
||||||
for word in self.words:
|
for word in self.words:
|
||||||
|
word = self.pointTracker.peek(word)
|
||||||
# Add the length of the word
|
# Add the length of the word
|
||||||
accumulatedLength += len(word)
|
accumulatedLength += len(word)
|
||||||
# Add the following space
|
# Add the following space
|
||||||
|
|
Loading…
Add table
Reference in a new issue