-
Notifications
You must be signed in to change notification settings - Fork 48
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
Details text field convert to HTML #4001
Comments
Weird one. Verified the service is just plain text Will need someone who knows angular to take a look. My best guess is this line is the source of the auto-formatting but that's not helpful as First approach should be to see if the formatter/filter can be smartened up to ignore dumb stuff like |
For anyone looking to recreate, I find this layer behaves much better as Dynamic. Put in |
James' first approach should be doable by adding a validate function. But we should be sure that we won't be breaking anything for other people. The simplest would be checking if the string starts with |
@dan-bowerman Will this be part of the next release? |
Hmm yeah, I'm pretty sure linkifyjs turns this into a URL because A valid domain name must be at minimum 2 characters long, so if this is a one-off sort of issue, we could just add a validator that makes sure the "domain name" is at least 2 characters long before turning it into a link. This would make |
Here is the production link (we cannot resolve the staging link in OP): https://maps-cartes.services.geo.ca/server_serveur/rest/services/NRCan/TC_Assessments_EN/MapServer/0 |
When we click on this point (OBJECTID = 228), inside the description field there a piece of text:
This crossing is to be reconstructed using a three pole structure consisting of 50' class 1 poles within the Lumsden Pond Provincial Park
P.Id.
No. 55198360, spanning the watercourse a distance of 121.7m with three 336acsr conductors, to a two pole structure consisting of two 60' poles on NSPI landsP.Id.
No. 55489553.P.Id. in convert to an hyperlink when it should not. It links to a blank page. It is confusing for the user. In fact, p.id is a real website and even Jira automatically create an hyperlink from it. If it is done automatically in RAMP, can we have a black list inside the configuration to remove parsing from some piece of text?
https://maps-stage.services.geo.ca/server_serveur/rest/services/NRCan/TC_Assessments_EN/MapServer/0
The text was updated successfully, but these errors were encountered: