Added a flag to get_note_format to set the up variable so that the backend will build_link correctly. This should be refactored, but it at least does the right thing for now.

svn: r15362
This commit is contained in:
Doug Blank
2010-05-08 15:21:11 +00:00
parent 19089b6f51
commit a2c515f5da
2 changed files with 19 additions and 12 deletions

View File

@@ -185,7 +185,7 @@ class HtmlBackend(DocBackend):
if self.build_link:
obj_class, prop, handle = value[9:].split("/", 3)
if prop in ["handle", "gramps_id"]:
value = self.build_link(prop, handle, obj_class, up=True)
value = self.build_link(prop, handle, obj_class)
if not value:
return self.STYLETAG_MARKUP[DocBackend.UNDERLINE]
else: