diff options
author | rbuj <[email protected]> | 2020-10-15 14:23:48 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-10-24 22:41:48 +0200 |
commit | ee414faa0424f953e758a68a4b93732e0648ee71 (patch) | |
tree | 2fd56885e5ca04e59931c316ee043c895a1fef2a /backend/epub/epub-document.c | |
parent | c71e8323088ef9326e655a21c269d71a62982459 (diff) | |
download | atril-ee414faa0424f953e758a68a4b93732e0648ee71.tar.bz2 atril-ee414faa0424f953e758a68a4b93732e0648ee71.tar.xz |
epub backend: Escape link text to display & in index content
Diffstat (limited to 'backend/epub/epub-document.c')
-rw-r--r-- | backend/epub/epub-document.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/epub/epub-document.c b/backend/epub/epub-document.c index 4fc2f4a7..52530f47 100644 --- a/backend/epub/epub-document.c +++ b/backend/epub/epub-document.c @@ -265,7 +265,7 @@ epub_document_make_tree_entry(linknode* ListData,LinksCBStruct* UserData) link = ev_link_new((gchar*)ListData->linktext,ev_action); gtk_tree_store_append (GTK_TREE_STORE (UserData->model), &tree_iter,(UserData->parent)); - title_markup = g_strdup((gchar*)ListData->linktext); + title_markup = g_markup_escape_text ((gchar*)ListData->linktext, -1); gtk_tree_store_set (GTK_TREE_STORE (UserData->model), &tree_iter, EV_DOCUMENT_LINKS_COLUMN_MARKUP, title_markup, |