-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hyperlink and XML entities issue #90
Comments
Thanks @ZouhaierSebri ! I added decoding to both the text and the image hyperlink tooltips. |
Hi @gitbrent
not work due to "a=1&b=2" in url |
still having the issue on hyperlink, version 2.4.0 and Powerpoint 2016
|
Hi @lejard-h This code will indeed cause warnings on PPT startup. You'll want to follow the example in the docs and use a complex text type instead (not a simple string with a global option)
|
Having the exact same issue as @ZouhaierSebri, in the newest version of the library (2.5.0). Can't place any |
@Tehnix - Please open a new issue for problems using "&" in a URL. |
Hi @gitbrent
i'm testing hyperlink both in image and text
The problem is in & because when i change & by & the exemple works fine.
as a solution i propose to use decodeXmlEntities()
line 2389 : change
Target="'+ rel.Target+'"
BY
Target="'+ decodeXmlEntities(rel.Target) +'"
line 1579 : change
tooltip="'+ (opts.hyperlink.tooltip ? opts.hyperlink.tooltip : '') +'"
BY
tooltip="'+ (opts.hyperlink.tooltip ? decodeXmlEntities(opts.hyperlink.tooltip) : '') +'"
The text was updated successfully, but these errors were encountered: