Empty links forbid page display
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zim |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
A page with empty links, i.e. without url ("[[text|]]"), forbid page display.
Here's a Traceback :
----
This is zim 0.57
Python version is sys.version_
releaselevel=
Gtk version is (2, 24, 11)
Pygtk version is (2, 24, 0)
Platform is posix
No bzr version-info found
======= Traceback =======
File "/[PATH]
self.set_
File "/[PATH]
buffer.
File "/[PATH]
self.insert_
File "/[PATH]
self._insert_
File "/[PATH]
self._insert_
File "/[PATH]
self.insert_
File "/[PATH]
self.insert_
TypeError: GtkTextBuffer.
----
Removing the empty links resolve the problem.
Will commit fix + test case in rev 608