Fix XML export

This commit is contained in:
Manuel Ebert 2015-12-28 13:01:33 -08:00
parent 4adb5c252a
commit b2542db5e5
3 changed files with 23 additions and 6 deletions

View file

@ -17,6 +17,10 @@ class Entry:
self.starred = starred
self.modified = False
@property
def fulltext(self):
return self.title + " " + self.body
@staticmethod
def tag_regex(tagsymbols):
pattern = r'(?u)\s([{tags}][-+*#/\w]+)'.format(tags=tagsymbols)