Skip to content
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

Hidden img src on external links is beeing copied #11950

Closed
stibay opened this issue Aug 10, 2017 · 3 comments
Closed

Hidden img src on external links is beeing copied #11950

stibay opened this issue Aug 10, 2017 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@stibay
Copy link

stibay commented Aug 10, 2017

Piwik 3.0.4
I have a link on my page with a link to an external site.

<a ng-href="http://someSite/?ref={{i[x.someField]}}" target="_blank">{{i[x.someField]}}</a>

The problem is I am getting lots of extra stuff when I copy this link by either dragging from the start or the end of the text.

<p><img src="//myPiwikSite/piwik.php?idsite=1&rec=1" style="border:0;" alt="" /></p>
ActualLinkTextHere

Is there a way to prevent this?

@mattab
Copy link
Member

mattab commented Sep 18, 2017

Hi @stibay

when I copy this link by either dragging from the start or the end of the text.

Sorry I don't understand this issue. Could you again explain what you get VS what you expect to get?

@stibay
Copy link
Author

stibay commented Sep 18, 2017

I am not managing this installation anymore, but the expected result would be just copying the text, not the piwik markup that seems to be hidden around the link.

@mattab
Copy link
Member

mattab commented Sep 18, 2017

Probably this is caused by the tag which we have removed a while ago, so this shouldn't be an issue with the new tag

@mattab mattab closed this as completed Sep 18, 2017
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Sep 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants