Shelf-nu / shelf.nu

shelf is open source Asset Management Infrastructure for absolutely everyone.
https://shelf.nu
GNU Affero General Public License v3.0
1.65k stars 145 forks source link

[Feature request]: Markdown/HTML in multi-line custom field #1093

Open DroneProf opened 1 week ago

DroneProf commented 1 week ago

Contact Details

rose196@purdue.edu

Is your feature request related to a problem? Please describe?

Inputting html tags (i.e. \ or \) into the Description box does not render as an image or link. Tags in multi-line custom fields resolve to a shelf.nu link (i.e. https://app.shelf.nu/assets/clxpfnu5b018qzmtiwjt0p2qj/overview/%3Ca%20href=%22https://gitlab.com/purdue-uas/dispatch/public/-/raw/master/docs/resources/uasreg/DJI_Mavic2_AA.pdf%22%20target=%22_parent%22%3Etest%3C/a%3E?ref=shelf-webapp).

Describe the solution you'd like

In addition to allowing image fields as in #1005 it would be good to allow markdown in Asset/Kit description or multi-line custom field.

Describe alternatives you've considered

No response

Additional context

I store ephemeral data on gitlab, so it's ideal to build assets that link out to gitlab resources. Here is an example of an asset (in LibraryCat) that links to external data (FAA Registration): https://www.librarycat.org/lib/Purdue_UAS_Dispatch/item/215460287