Create ngSanitize replacement utility function for use in the legacy maps service to process attribution #63399
Labels
[Deprecated-Use Team:Presentation]Team:Geo
Former Team Label for Geo Team. Now use Team:Presentation
Feature:Coordinate Map
Feature:Region Map
v7.8.1
v7.9.0
v8.0.0
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 thanngSanitize
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
The text was updated successfully, but these errors were encountered: