mercurial/minirst.py
changeset 20549 2025315cfb0c
parent 19995 0f6e360b14f2
child 20654 af9d9b778550
--- a/mercurial/minirst.py	Sat Feb 15 01:23:12 2014 +0100
+++ b/mercurial/minirst.py	Thu Feb 20 02:39:01 2014 +0100
@@ -109,7 +109,7 @@
             elif len(blocks[i]['lines']) == 1 and \
                  blocks[i]['lines'][0].lstrip(' ').startswith('.. ') and \
                  blocks[i]['lines'][0].find(' ', 3) == -1:
-                # directive on its onw line, not a literal block
+                # directive on its own line, not a literal block
                 i += 1
                 continue
             else:
@@ -382,7 +382,7 @@
             blocks[i]['type'] in ('bullet', 'option', 'field')):
             i += 1
         elif not blocks[i - 1]['lines']:
-            # no lines in previous block, do not seperate
+            # no lines in previous block, do not separate
             i += 1
         else:
             blocks.insert(i, dict(lines=[''], indent=0, type='margin'))