fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
78943ca
)
Poprawiony regexp. Fixes #371
author
Łukasz Rekucki
<lrekucki@gmail.com>
Thu, 25 Feb 2010 10:37:39 +0000
(11:37 +0100)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Thu, 25 Feb 2010 10:37:39 +0000
(11:37 +0100)
apps/wiki/models.py
patch
|
blob
|
history
diff --git
a/apps/wiki/models.py
b/apps/wiki/models.py
index
7693da4
..
7b0f8ed
100644
(file)
--- a/
apps/wiki/models.py
+++ b/
apps/wiki/models.py
@@
-29,7
+29,7
@@
class DocumentStorage(object):
class Document(object):
- META_REGEX = re.compile(r'\s*<!--\s(.*?)
\s
-->', re.DOTALL | re.MULTILINE)
+ META_REGEX = re.compile(r'\s*<!--\s(.*?)-->', re.DOTALL | re.MULTILINE)
def __init__(self, storage, **kwargs):
self.storage = storage