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

Create ngSanitize replacement utility function for use in the legacy maps service to process attribution #63399

Closed
kindsun opened this issue Apr 13, 2020 · 2 comments

Comments

@kindsun
Copy link
Contributor

kindsun commented Apr 13, 2020

Following up on #60942. There's currently no great substitute for ngSanitize for sanitizing attribution links in the legacy maps service. _.escape could potentially be useful, however out-of-the-box it functions differently than ngSanitize by escaping everything given to it, like the angle brackets used to construct the link html. What we likely need is a simple utility function that leverages _.escape to process the url content while not affecting the html structure of the URL itself.

cc @thomasneirynck

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-gis (Team:Geo)

@thomasneirynck
Copy link
Contributor

Closed by #70888 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants