DIV Tags in Description?

I know this has been brought up in the past, but so far none of the solutions have worked for me.

I’ve been using the Edit Layer feature to ensure the entries on the layer all follow the same format. To do this, I’m editing the description using DIV tags. This has worked perfectly since October of 2024.

Today, however, it broke.

I’ve rewritten the code and replaced it several times, but it doesn’t seem to be taking. Is there a solution to this that I’ve perhaps missed?

You are talking about the description-tag in OSM objects?

I don’t think they are meant to store CSS- tags.

In what piece of software are you using the “edit layer feature”?

1 Like

Using UMap, I’ve been storing the CSS for the layer in the pop-up content template as seen here:

It’s been working quite well.

My apologies, I neglected to mention that I’m using UMap.

2 Likes

Looking at the issues on the umap github, I think this recent report may be the same issue. It is not described entirely clearly, but I think both issues relate to CSS being displayed as literal text instead of intepreted as styling.

If you have or are willing to set up a Github account, it might be worth chiming in on that issue with more details, including a URL as requested by a maintainer.

3 Likes