Closed mradamcox closed 1 month ago
Do we have a result item with description and various_notes fields that I can use to test this?
And can you explain render as HTML?
Sure, I have added this phrase to the Description field of the Social Vulnerability Index on the dev core: This is an <a href="https://sdohplace.org">example link</a> that should be rendered properly on the front-end.
. When that field is displayed in the item details section, it should look like:
This is an example link that should be rendered properly on the front-end.
Ah I see, thanks for your explanation!
Ok, I added a link in the Neighborhood Atlas entry to test, and looks like we'll need more work on this, as the description currently gets cut off at the beginning of the HTML tag: https://discovery-app--cheerful-treacle-913a24.netlify.app/search?show=neighborhood-atlas
Ok, I added a link in the Neighborhood Atlas entry to test, and looks like we'll need more work on this, as the description currently gets cut off at the beginning of the HTML tag: https://discovery-app--cheerful-treacle-913a24.netlify.app/search?show=neighborhood-atlas
I see, I'll check on what happened.
I tested random hyperlinks and I could not replicate the issue locally...may I know the full description text we used for https://discovery-app--cheerful-treacle-913a24.netlify.app/search?show=neighborhood-atlas?
@mradamcox for this issue, do we still have the item with links in description that I can use for test?
Sorry yeah, just looking at this. The discovery_app branch deploy seems to be broken now somehow, I guess it must have something to do with the index. Looking into this now...
In the full item detail page, we should render the description and various notes fields as HTML. This would allow us to add links within the description metadata fields, which has been requested by folks working on the metadata records (it would really enrich the entries, as well).