witten
/
luminotes
Archived
1
0
Fork 0

Potential fix for placeholder characters ending up in print preview and causing problems when pasted into other application.

Now the placeholder chars are being removed.
This commit is contained in:
Dan Helfman 2009-10-29 20:05:14 -07:00
parent df8ffd538a
commit 3cfda05d4a
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ class Print_notes( Html ):
# relink all note links so they point to named anchors within the page
for note in notes:
contents = self.NOTE_LINK_PATTERN.sub( r'<a href="#note_\1">', note.contents )
contents = contents.replace( u"\u200B", u"" ) # Nuke any placeholder chars.
relinked_notes[ note.object_id ] = contents
Html.__init__(