Permalink
Browse files

Merge pull request #9 from Sepero/master

Concept clarification
  • Loading branch information...
jedie committed Sep 4, 2012
2 parents 3a75f2c + f51aa54 commit 8645a5ababdfa112160d4bbe091d4892612c006b
Showing with 2 additions and 2 deletions.
  1. +2 −2 creole/creole2html/rules.py
@@ -152,10 +152,10 @@ class BlockRules(object):
def __init__(self, blog_line_breaks=True):
if blog_line_breaks:
- # use blog style line breaks (every line break would be convertet into <br />)
+ # use natural style line breaks (every line break would be converted into <br />)
self.text = r'(?P<text> .+ ) (?P<break> (?<!\\)$\n(?!\s*$) )?'
else:
- # use wiki style line breaks, seperate lines with one space
+ # use wikipedia style line breaks, separate lines with one space
self.text = r'(?P<space> (?<!\\)$\n(?!\s*$) )? (?P<text> .+ )'
self.rules = (

0 comments on commit 8645a5a

Please sign in to comment.