0001863: <gramps> tags in notes, consistency. This should be in all notes or only in the ones that have markup
Markup has been disabled for notes. A new strategy is being worked on to allow styles for notes. svn: r10230
This commit is contained in:
@@ -100,11 +100,6 @@ class NoteModel(BaseModel):
|
||||
#data is the encoding in the database, make it a unicode object
|
||||
#for universal work
|
||||
note = " ".join(unicode(data[2]).split())
|
||||
note = re.sub(r'(<.*?>)', '', note)
|
||||
note = note.replace('&', '&')
|
||||
note = note.replace('<', '<')
|
||||
note = note.replace('>', '>')
|
||||
|
||||
if len(note) > 80:
|
||||
return note[:80]+"..."
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user