Alloy 3: Question on Droplets, Embeds and superscripts/exponents

Hello everyone,
I am just discovering a problem that I hope there is a solution for. I have created several embeds and droplets for a project that I am currently filling with content. Since it is a website for a real estate agent, I need to provide information about living space (in square meters). To do this, I am desperately looking for a way to work with superscripts/exponents, but Alloy3 does not seem to be able to do this. Is this true? This would be very inconvenient.

HTML codes certainly work in Embeds and Blog posts.

Will NOT work in Droplets.


200mm<sup>2</sup>

Gives:

200mm2

Similarly:


200mm<sub>2</sub>

Gives:

200mm2

:grinning:

2 Likes

Thanks so much for your reply! I just tried this in a Droplet and got this:

:pensive:

Will try the Embed next.

It might be that the Droplet parser doesn’t like those codes, but 100% they work in Embeds and Blogs.

Hm, okay. Thanks a lot!

Yep, I’ve tried it in a Droplet, and it’s doesn’t work. Will edit my original post in case anyone finds this thread in years to come! :wink:

2 Likes

This is purposeful due to what Droplets are intended to do.

1 Like