diff --git a/engine/postprocessing.py b/engine/postprocessing.py
index e597fd8..8673134 100755
--- a/engine/postprocessing.py
+++ b/engine/postprocessing.py
@@ -196,17 +196,19 @@ def get_todo(text):
return ntext
-def get_captions(text):
+def get_captions(text): #figure
"""Replace *in text* @todo, @inprogress and @done with `@todo` and so on.
"""
ntext = ''
for l in text.split('\n'):
if l.startswith('Fig.') or l.startswith('Figure.'):
- style = 'Figure.'
+ style = 'Figure. '
l = l.replace('Figure.', style)
l = l.replace('Fig.', style)
l += ''
- ntext += l + '\n'
+ ntext += l + '\n' #\nFigure. -> Figure.
+ ntext = ntext.replace('\n