Skip to content

Parse URLs as links #34

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

Merged
merged 5 commits into from
Jun 24, 2025
Merged

Parse URLs as links #34

merged 5 commits into from
Jun 24, 2025

Conversation

Dolpic
Copy link
Contributor

@Dolpic Dolpic commented Mar 26, 2025

When parsing a string datatype, if the string is a valid URL, create a valid HTML link instead of printing the string.
This is useful in many situations, for example in the STAC browser, when a geojson has attributes that are URLs they are interactive.

@m-mohr m-mohr self-requested a review June 21, 2025 10:54
Copy link
Contributor

@m-mohr m-mohr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, see comment for details.

Co-authored-by: Matthias Mohr <[email protected]>
@Dolpic
Copy link
Contributor Author

Dolpic commented Jun 24, 2025

Thanks, see comment for details.

Much clearer indeed, thanks !

@m-mohr m-mohr merged commit 10a07c6 into stac-utils:main Jun 24, 2025
@m-mohr
Copy link
Contributor

m-mohr commented Jun 24, 2025

Thank you

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

Successfully merging this pull request may close these issues.

2 participants