* src/Editors/_EditFamily.py: popup: edit child at top, add images.
	* src/DisplayTabs/_EmbeddedList.py: allow popup with image/custom text
	* src/DisplayModels/_BaseModel.py: add comment to function
	* src/DisplayModels/_NoteModel.py: test, UTF-8 for preview



svn: r10020
This commit is contained in:
Benny Malengier
2008-02-12 12:17:58 +00:00
parent 60b7f5e04d
commit 3dbfd6cbac
5 changed files with 36 additions and 6 deletions

View File

@@ -100,7 +100,7 @@ class NoteModel(BaseModel):
return unicode(str(temp))
def column_preview(self,data):
note = " ".join(data[2].split())
note = " ".join(data[2].encode('utf-8').split())
note = re.sub(r'(<.*?>)', '', note)
note = note.replace('&amp;', '&')
note = note.replace('&lt;', '<')