fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try again button
[redakcja.git]
/
apps
/
catalogue
/
management
/
edumed.py
diff --git
a/apps/catalogue/management/edumed.py
b/apps/catalogue/management/edumed.py
index
56088fe
..
25f3084
100644
(file)
--- a/
apps/catalogue/management/edumed.py
+++ b/
apps/catalogue/management/edumed.py
@@
-61,7
+61,7
@@
class Section(Tagger):
class Meta(Tagger):
class Meta(Tagger):
- looks_like = re.compile(r"([^:]+): (.*)", re.UNICODE)
+ looks_like = re.compile(r"([^:]+):
?
(.*)", re.UNICODE)
def tag(self, pos):
pos = self.skip_empty(pos)
def tag(self, pos):
pos = self.skip_empty(pos)
@@
-389,7
+389,7
@@
def mark_dictionary(content):
Container('definiens', m.groups()[1])])
else:
Container('definiens', m.groups()[1])])
else:
- slowniczek.append(e)
+ slowniczek.append(e
.line
)
i += 1
return content
i += 1
return content