nanostudio-org / nanogallery2

a modern photo / video gallery and lightbox [JS library]
https://nanogallery2.nanostudio.org
761 stars 112 forks source link

Thumbnail title and description: HTML-Text formatting #366

Closed dryven closed 2 years ago

dryven commented 2 years ago

Describe the issue
We aren't able to format the title or description of our thumbnails using HTML-Tags. Currently, the HTML-Code isn't rendered... it's just being outputted raw. Is there any possibility to do so? You can find the codepen below.

CODE PLAYGROUND
https://codepen.io/ddm-studio/pen/wvqZxgo

kerohk commented 2 years ago

You may include "allowHTMLinData": true to allow customized HTML formatting. I edited your codepen: https://codepen.io/kerokeroppi/pen/gOGYppW

dryven commented 2 years ago

That's amazing, thank you!