mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
skip hyperlink attributes for #88
This commit is contained in:
parent
c8e7df6289
commit
a8eadc1df5
|
@ -1725,6 +1725,8 @@ void xlsx_consumer::read_worksheet(const std::string &rel_id)
|
|||
auto hyperlink_rel = std::find_if(hyperlinks.begin(), hyperlinks.end(),
|
||||
[&](const relationship &r) { return r.id() == hyperlink_rel_id; });
|
||||
|
||||
skip_attributes({"location", "tooltip", "display"});
|
||||
|
||||
if (hyperlink_rel != hyperlinks.end())
|
||||
{
|
||||
cell.hyperlink(hyperlink_rel->target().path().string());
|
||||
|
|
Loading…
Reference in New Issue
Block a user