Browse Source

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.
master
Dan Helfman 10 years ago
parent
commit
3cfda05d4a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      plugins/export_print/Print_notes.py

+ 1
- 0
plugins/export_print/Print_notes.py 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__(


Loading…
Cancel
Save