mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 21:46:13 +02:00
Fix XML export
This commit is contained in:
parent
4adb5c252a
commit
b2542db5e5
3 changed files with 23 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue