Jump to content

Template talk:Tropical cyclone season effects (cyclone)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

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]