mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +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);
|
||||
|
||||
// we don't care dest is empty or not.
|
||||
f_outline.fs << "<li>"
|
||||
<< "<a href=\"" << dest << "\"";
|
||||
f_outline.fs << "<li>" << "<a href=\"";
|
||||
outputURL(f_outline.fs, dest);
|
||||
f_outline.fs << "\"";
|
||||
|
||||
if(!detail.empty())
|
||||
f_outline.fs << " data-dest-detail='" << detail << "'";
|
||||
|
Loading…
Reference in New Issue
Block a user