diff options
author | rbuj <[email protected]> | 2020-10-15 14:23:48 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-10-24 22:58:04 +0200 |
commit | d906764f8333f5f366c61a9b1a8c32a2d8765aa2 (patch) | |
tree | 6c05ee0c977b8e35dc27492945b2cfac3c8040f6 /backend/epub | |
parent | 633b99b07bdc0fd9808fa0d38ab6bfb50a35dc90 (diff) | |
download | atril-d906764f8333f5f366c61a9b1a8c32a2d8765aa2.tar.bz2 atril-d906764f8333f5f366c61a9b1a8c32a2d8765aa2.tar.xz |
epub backend: Escape link text to display & in index content
Diffstat (limited to 'backend/epub')
-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 2f4eab0f..8be5b74b 100644 --- a/backend/epub/epub-document.c +++ b/backend/epub/epub-document.c @@ -255,7 +255,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, |