Fix li in Image Slider

Fixes issue with using li tags in the image slider text.

Fixes #1569