mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
url escape for outline items
This commit is contained in:
parent
d83a41441f
commit
1ba86a3764
@ -35,8 +35,9 @@ void HTMLRenderer::process_outline_items(GooList * items)
|
|||||||
string dest = get_linkaction_str(item->getAction(), detail);
|
string dest = get_linkaction_str(item->getAction(), detail);
|
||||||
|
|
||||||
// we don't care dest is empty or not.
|
// we don't care dest is empty or not.
|
||||||
f_outline.fs << "<li>"
|
f_outline.fs << "<li>" << "<a href=\"";
|
||||||
<< "<a href=\"" << dest << "\"";
|
outputURL(f_outline.fs, dest);
|
||||||
|
f_outline.fs << "\"";
|
||||||
|
|
||||||
if(!detail.empty())
|
if(!detail.empty())
|
||||||
f_outline.fs << " data-dest-detail='" << detail << "'";
|
f_outline.fs << " data-dest-detail='" << detail << "'";
|
||||||
|
Loading…
Reference in New Issue
Block a user