Template talk:Tropical cyclone season effects (cyclone)

WikiProject iconWeather: Tropical Template‑class
WikiProject iconThis template is within the scope of WikiProject Weather, which collaborates on weather and related subjects on Wikipedia. To participate, help improve this article or visit the project page for details.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
Taskforce icon
This template is supported by WikiProject Tropical cyclones.

br tags in values appear to be causing span tag problems edit

After the most recent change, it appears that <br> tags within values are causing span tags to be misinterpreted by the parser. This is happening at 1992–93 South Pacific cyclone season, where the span tag is expanded as follows:

<span style="display:none;" data-tcse-entry='{"damages":"110000000","deaths":"26","dissipated":"January 5, 1993","page":"Cyclone Nina","pressure":"960","name":"Nina","winds":"75","category":"Aus3","formed":"January 1, 1993","affected":"Queensland, Solomon Islands<br>Wallis and Futuna, Rotuma, Tonga"}'></span>

When that is rendered on the page, it looks like this:

<span style="display:none;" data-tcse-entry='{"damages":"110000000","deaths":"26","dissipated":"January 5, 1993","page":"Cyclone Nina","pressure":"960","name":"Nina","winds":"75","category":"Aus3","formed":"January 1, 1993","affected":"Queensland, Solomon Islands<br>Wallis and Futuna, Rotuma, Tonga"}'></span>

instead of rendering as blank space. Pinging Chlod. – Jonesey95 (talk) 00:05, 24 October 2021 (UTC)Reply

@Jonesey95: Seems like I accidentally forgot to exclude another argument. Thanks for pointing this out! Chlod (say hi!) 00:09, 24 October 2021 (UTC)Reply
Thanks. It looks like it is working better now. – Jonesey95 (talk) 06:21, 24 October 2021 (UTC)Reply