usnistgov / NEMO

NEMO is a laboratory logistics web application. Use it to schedule reservations, control tool access, track maintenance issues, and more.
Other
126 stars 62 forks source link

Uncoherent formatting (Closure vs. Alerts) #211

Closed r-xyz closed 1 month ago

r-xyz commented 3 months ago

Hello,

Another minor UI bug (actually two, but I suspect the cause is common). When adding Closures:

  1. You can use HTML tags, which are previewed correctly

  2. Special symbols (e.g.æ,µ,ç) are not correctly rendered in the preview (looks like UTF issue). image When the corresponding alert is generated:

  3. HTML tags are not rendered

  4. Special symbols are rendered correctly image

rptmat57 commented 3 months ago

html tags are not actually supported, it's the special code for previewing that's faulty here, because it's using an iframe and encoding the content.

I can change it to accept and render HTML, I'll take a look at the preview but that might be more involved

r-xyz commented 1 month ago

closed by 5f8af9c Thanks! :)