fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Poprawiony regexp. Fixes #371
[redakcja.git]
/
apps
/
wiki
/
models.py
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