Markdown in the substitute variable
Hi,
Could you help how to write the markdown in the variable?
I fill the feature attribute with the variable with some markup. But markup is not reflected in the result.
Thanks,
Jana
-
Json is attached.
0 -
Hi Marek,
I believe the issue here is that field replacement tokens (like {OBEC}) assume that you want your field data to be preserved rather than turn into styling. The special characters are all escaped when the token is converted, like this:

One solution would be to change the order things are done in your event. Set the form element items from the featureset right away, then do that For Each loop afterwards to replace the already existing labels instead of replacing the feature attribute values. You can avoid pushing the values through field tokens that way. I've attached a modified version.
0 -
Thanks for your very useful advice!
Marek
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
3 kommentarer