NATION

PASSWORD

[Needs Admin Attention] broken nesting

Bug reports, general help, ideas for improvements, and questions about how things are meant to work.
User avatar
Potato
Chargé d'Affaires
 
Posts: 494
Founded: Mar 10, 2017
Corrupt Dictatorship

[Needs Admin Attention] broken nesting

Postby Potato » Thu May 17, 2018 4:30 am

https://www.nationstates.net/region=nev ... n_atlantic

At least for me, all the nesting is broken. Doesn't happen on other region pages.

Arkhall wrote:It's placing any BBcode inside the [url]tag. I've tried all other BBcode, replacing the url with an actual link, and its only the bbcode inside the [url=] that breaks it. so [url=[hr]]ee[/url] breaks it, but [url=nationstates.net]ee[/url doesn't.
Last edited by Potato on Thu May 17, 2018 6:31 am, edited 2 times in total.
_%%%%%___%%%%__%%%%%__%%%%__%%%%%___%%%%__
_%%__%%__%%__%%___%%____%%__%%___%%_____%%__%%_
_%%%%%__%%__%%___%%____%%%%%____%%____%%___%%_
_%%_______%%__%%___%%____%%__%%____%%____%%__%%_
_%%________%%%%____%%____%%__%%____%%_____%%%%__

Audioslavia wrote:If someone wilfully steers it back towards 'yeah but what if a methodist dude does a sunni dude for four seconds on a Tuesday in spring what then is that bad?" then let us know
Proctopeo wrote:it's like when voldemort ate hitler's soul to become darth vader 2
Ifreann wrote:FEMINISM DESTROYED
The Archregimancy wrote:If any former members of the 1919-1945 Nationalsozialistische Deutsche Arbeiterpartei post in Moderation to complain that they're being trolled, I'll revisit this; but I suspect that they're a fairly small demographic within our forums.
Audioslavia wrote:We unfortunately don't banhammer people for being catastrophically smug.
Hello, I love you! Yes, you! You're a great human, keep going!

User avatar
Trotterdam
Postmaster-General
 
Posts: 10543
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Thu May 17, 2018 4:42 am

Code: Select all
<fieldset class="wfe"><legend>World Factbook Entry</legend>
<p><ul><font color="D713E8"><img src="/images/externallink.gif" alt="Link" class="exlink"><a href="https://w<div class=" dispatchsample"><div class="dispatch" data-main-url="nation=the_united_dark_republic/detail=factbook/id=1022244"><div class="dispatchsamplemain"><div class="dispatchheadline"><h2><a href="page=dispatch/id=1022244" class="quietlink">A war on ideology</a></h2><p class="dispatchauthorline">by <a href="nation=blue_sheep" class="nlink"><img src="/images/flags/uploads/blue_sheep__634288t1.jpg" class="smallflag" alt=""><span class="nnameblock"><span class="ntype">The Nomadic Peoples of</span> <span class="nname">Blue Sheep</span></span></a></div>Silver Eagles, an important member of the Regional Front party, has declared that there's a war on conservatism in the NWA, led by liberal elites.<br><hr /><br><hr /><br><hr /><hr /><br><hr /><br><hr /><hr /><hr /><br><hr /><br><hr /><hr /><hr /><hr /><br><hr /><br><hr /><hr /><hr /><hr /><hr /><br><hr /><br><hr /><hr /><hr /><hr /><hr /><hr /><br><hr /><br><hr /><hr /><hr /><hr /><hr /><br><hr /><br><hr /><hr /><hr /><hr /><br><hr /><br><hr /><hr /><hr /><br><hr /><br><hr /><hr /><br><hr /><br><hr /><br>Silver Eagles, citing Struberria's many controversial quotes called for all conservatives in the region to fight the ''War on Conservatism'', which is presumed to be led by Struberria and rest of the liberal figures in NWA. His post, pictured on the beginning of the article has a very vague nature, and is likely to develop into a bigger debate that'll give everyone an occasion for critical thinking.</div></div><a class="dispatchreadmore" href="/nation=the_united_dark_republic/detail=factbook/id=1022244"><i class="icon-newspaper"></i>Read factbook</a></div><p>" rel="nofollow" target="_blank"><u><b>Welcome</b></u></a> to the <b>A</b>tlantic || <b><i>Getting Where Together</b></i>[url=&#9812; <b>Eighth Government</b><hr /><b><a href="/hestertic_role_play_region">RP Region</a> :: <a href="//www.nationstates.net/nation=the_united_dark_republic/detail=ok/id=599497">Registry</a> :: <img src="/images/externallink.gif" alt="Link" class="exlink"><a href="https://discord.gg/PdNSvnw" rel="nofollow" target="_blank">Discord</a> :: <img src="/images/externallink.gif" alt="Link" class="exlink"><a href="https://www.nationstatest/nation=the_united_dark_republic/detail=factbook/id=818942" rel="nofollow" target="_blank">Elections</a></b><hr /> <b>News</b> &#128240;<img src="/images/externallink.gif" alt="Link" class="exlink"><a href="http://regionalnek.weebly.com" rel="nofollow" target="_blank"><b>RNN</b></a> | <img src="/images/externallink.gif" alt="Link" class="exlink"><a href="http://atlanticrbc.weebly.com/" rel="nofollow" target="_blank"><b>RBC</b></a> | <img src="/images/externallink.gif" alt="Link" class="exlink"><a href="https://sites.google.com/view/kyrotelegraph/home" rel="nofollow" target="_blank"><b>KYT</b></a> | <img src="/images/externallink.gif" alt="Link" class="exlink"><a href="https://woolwarz.wixsite.com/woolwarz" rel="nofollow" target="_blank"><b>WR<li><p>Z</b></a><hr /><b>Activity &#128340;</b></font><ul><font color="37E816"><li><p> <li><p>Regional mem<a href="/bership"> hits all-time high of 279 (41s</a>t in NS), previo<hr />us record was 268 residents.<li><p> Elected and reelectare now sworn-in; Constructivcoalition.<li><p> Click <b><img src="/images/externallink.gif" alt="Link" class="exlink"><a href="https://docs.google.com/forms/d/1Q &#64;z8I0FZthE1GUADGuHrWrhY97mN Wx-AtQBFfKV" rel="nofollow" target="_blank">YNphI/viewform?edit_requested=true]Here</a></b> to sign up for <a href="//www.nationstates.net/region=new_western_atlantic_role_play_region">Roleplay</a>.</ul><p><hr /><i> Please join the <a href="//www.nationstates.net/page=un">World Assembly to incre</a>ase regional, aand endorse <span class="nnameblock">Tuntd da rblic<a href="/page=boneyard?nation=tuntd_da_rblic"><i class="icon-monument"></i></a></span></i>.<fieldset class="rmbquoted"><legend><a href="/page=help" class="modtag">NationStates Moderators</a> wrote:</legend><a href="page=rmb/postid=27308224"><img src="/images/externallink.gif" class="rmbquotelink"></a><i>Have</i></fieldset><p></font></ul></p>
</fieldset>


Some highlights:
Code: Select all
<a href="https://w<div class=" dispatchsample">
Code: Select all
Regional mem<a href="/bership"> hits all-time high of 279 (41s</a>t in NS), previo<hr />us record was 268 residents.
Well, that can't be good.

The main problem seems to be the "included dispatch" not working properly in regional factbooks, although I suspect other coding errors on Blue Sheep's part. Can anyone post the BBcode for the regional factbook in question?

User avatar
Arkhall
Spokesperson
 
Posts: 189
Founded: Feb 11, 2018
Authoritarian Democracy

Postby Arkhall » Thu May 17, 2018 4:48 am

Trotterdam wrote:
Code: Select all
<fieldset class="wfe"><legend>World Factbook Entry</legend>
<p><ul><font color="D713E8"><img src="/images/externallink.gif" alt="Link" class="exlink"><a href="https://w<div class=" dispatchsample"><div class="dispatch" data-main-url="nation=the_united_dark_republic/detail=factbook/id=1022244"><div class="dispatchsamplemain"><div class="dispatchheadline"><h2><a href="page=dispatch/id=1022244" class="quietlink">A war on ideology</a></h2><p class="dispatchauthorline">by <a href="nation=blue_sheep" class="nlink"><img src="/images/flags/uploads/blue_sheep__634288t1.jpg" class="smallflag" alt=""><span class="nnameblock"><span class="ntype">The Nomadic Peoples of</span> <span class="nname">Blue Sheep</span></span></a></div>Silver Eagles, an important member of the Regional Front party, has declared that there's a war on conservatism in the NWA, led by liberal elites.<br><hr /><br><hr /><br><hr /><hr /><br><hr /><br><hr /><hr /><hr /><br><hr /><br><hr /><hr /><hr /><hr /><br><hr /><br><hr /><hr /><hr /><hr /><hr /><br><hr /><br><hr /><hr /><hr /><hr /><hr /><hr /><br><hr /><br><hr /><hr /><hr /><hr /><hr /><br><hr /><br><hr /><hr /><hr /><hr /><br><hr /><br><hr /><hr /><hr /><br><hr /><br><hr /><hr /><br><hr /><br><hr /><br>Silver Eagles, citing Struberria's many controversial quotes called for all conservatives in the region to fight the ''War on Conservatism'', which is presumed to be led by Struberria and rest of the liberal figures in NWA. His post, pictured on the beginning of the article has a very vague nature, and is likely to develop into a bigger debate that'll give everyone an occasion for critical thinking.</div></div><a class="dispatchreadmore" href="/nation=the_united_dark_republic/detail=factbook/id=1022244"><i class="icon-newspaper"></i>Read factbook</a></div><p>" rel="nofollow" target="_blank"><u><b>Welcome</b></u></a> to the <b>A</b>tlantic || <b><i>Getting Where Together</b></i>[url=&#9812; <b>Eighth Government</b><hr /><b><a href="/hestertic_role_play_region">RP Region</a> :: <a href="//www.nationstates.net/nation=the_united_dark_republic/detail=ok/id=599497">Registry</a> :: <img src="/images/externallink.gif" alt="Link" class="exlink"><a href="https://discord.gg/PdNSvnw" rel="nofollow" target="_blank">Discord</a> :: <img src="/images/externallink.gif" alt="Link" class="exlink"><a href="https://www.nationstatest/nation=the_united_dark_republic/detail=factbook/id=818942" rel="nofollow" target="_blank">Elections</a></b><hr /> <b>News</b> &#128240;<img src="/images/externallink.gif" alt="Link" class="exlink"><a href="http://regionalnek.weebly.com" rel="nofollow" target="_blank"><b>RNN</b></a> | <img src="/images/externallink.gif" alt="Link" class="exlink"><a href="http://atlanticrbc.weebly.com/" rel="nofollow" target="_blank"><b>RBC</b></a> | <img src="/images/externallink.gif" alt="Link" class="exlink"><a href="https://sites.google.com/view/kyrotelegraph/home" rel="nofollow" target="_blank"><b>KYT</b></a> | <img src="/images/externallink.gif" alt="Link" class="exlink"><a href="https://woolwarz.wixsite.com/woolwarz" rel="nofollow" target="_blank"><b>WR<li><p>Z</b></a><hr /><b>Activity &#128340;</b></font><ul><font color="37E816"><li><p> <li><p>Regional mem<a href="/bership"> hits all-time high of 279 (41s</a>t in NS), previo<hr />us record was 268 residents.<li><p> Elected and reelectare now sworn-in; Constructivcoalition.<li><p> Click <b><img src="/images/externallink.gif" alt="Link" class="exlink"><a href="https://docs.google.com/forms/d/1Q &#64;z8I0FZthE1GUADGuHrWrhY97mN Wx-AtQBFfKV" rel="nofollow" target="_blank">YNphI/viewform?edit_requested=true]Here</a></b> to sign up for <a href="//www.nationstates.net/region=new_western_atlantic_role_play_region">Roleplay</a>.</ul><p><hr /><i> Please join the <a href="//www.nationstates.net/page=un">World Assembly to incre</a>ase regional, aand endorse <span class="nnameblock">Tuntd da rblic<a href="/page=boneyard?nation=tuntd_da_rblic"><i class="icon-monument"></i></a></span></i>.<fieldset class="rmbquoted"><legend><a href="/page=help" class="modtag">NationStates Moderators</a> wrote:</legend><a href="page=rmb/postid=27308224"><img src="/images/externallink.gif" class="rmbquotelink"></a><i>Have</i></fieldset><p></font></ul></p>
</fieldset>


Some highlights:
Code: Select all
<a href="https://w<div class=" dispatchsample">
Code: Select all
Regional mem<a href="/bership"> hits all-time high of 279 (41s</a>t in NS), previo<hr />us record was 268 residents.
Well, that can't be good.

The main problem seems to be the "included dispatch" not working properly in regional factbooks, although I suspect other coding errors on Blue Sheep's part. Can anyone post the BBcode for the regional factbook in question?


Code: Select all
Silver Eagles, an important member of the Regional Front party, has declared that there's a war on conservatism in the NWA, led by liberal elites.
[hr]
[hr]
[hr][hr]
[hr]
[hr][hr][hr]
[hr]
[hr][hr][hr][hr]
[hr]
[hr][hr][hr][hr][hr]
[hr]
[hr][hr][hr][hr][hr][hr]
[hr]
[hr][hr][hr][hr][hr]
[hr]
[hr][hr][hr][hr]
[hr]
[hr][hr][hr]
[hr]
[hr][hr]
[hr]
[hr]
Silver Eagles, citing Struberria's many controversial quotes called for all conservatives in the region to fight the ''War on Conservatism'', which is presumed to be led by Struberria and rest of the liberal figures in NWA. His post, pictured on the beginning of the article has a very vague nature, and is likely to develop into a bigger debate that'll give everyone an occasion for critical thinking.

Ransium wrote:If being dirty minded was against site rules I'd be DOS.
Hatterleigh wrote:Sandwiches are a social construct.
Last Plains wrote:I've been given limitless power and I'm in a bad mood.
The New California Republic wrote:Nietzsche is just laughable, it reads like tabloid trash.
I'm a female Tamale cripple with snark and a lewd attitude, my dude.
I own Ikuisuus, and don't take kindly to people who TG me telling me how to run it.

User avatar
Arkhall
Spokesperson
 
Posts: 189
Founded: Feb 11, 2018
Authoritarian Democracy

Postby Arkhall » Thu May 17, 2018 4:51 am

I'm going to make a region and try doing the same thing, posting that factbook and using that WFE. See if it breaks again or if its just that region.

Ransium wrote:If being dirty minded was against site rules I'd be DOS.
Hatterleigh wrote:Sandwiches are a social construct.
Last Plains wrote:I've been given limitless power and I'm in a bad mood.
The New California Republic wrote:Nietzsche is just laughable, it reads like tabloid trash.
I'm a female Tamale cripple with snark and a lewd attitude, my dude.
I own Ikuisuus, and don't take kindly to people who TG me telling me how to run it.

User avatar
Sakhalinsk Wikipedia
Civilian
 
Posts: 1
Founded: Feb 22, 2018
Ex-Nation

Postby Sakhalinsk Wikipedia » Thu May 17, 2018 4:54 am

I tried it (this is a puppet of The Sakhalinsk Empire) and it works for me.

User avatar
Trotterdam
Postmaster-General
 
Posts: 10543
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Thu May 17, 2018 4:56 am

Sakhalinsk Wikipedia wrote:I tried it (this is a puppet of The Sakhalinsk Empire) and it works for me.
No, you're doing it wrong. Try linking the factbook, rather than copying it.

User avatar
Arkhall
Spokesperson
 
Posts: 189
Founded: Feb 11, 2018
Authoritarian Democracy

Postby Arkhall » Thu May 17, 2018 4:57 am

Arkhall wrote:I'm going to make a region and try doing the same thing, posting that factbook and using that WFE. See if it breaks again or if its just that region.

No matter how much of the WFE I put in, it says it's too long, unless its just the dispatch.

This is the biggest I can get the WFE, for some reason.
Code: Select all
[list][color=D713E8][url=https://wnationstates.net/nation=the_united_dark_republic/detail=factbook/id=1022244][u][b]Welcome[/b][/u][/url] to the [b]A[/b]tlantic || [b][i]Getting Where Together[/b][/i][url=♔ [b]Eighth Government[/b][hr][b][url=hestertic_role_play_region]RP Region[/url] ::

Ransium wrote:If being dirty minded was against site rules I'd be DOS.
Hatterleigh wrote:Sandwiches are a social construct.
Last Plains wrote:I've been given limitless power and I'm in a bad mood.
The New California Republic wrote:Nietzsche is just laughable, it reads like tabloid trash.
I'm a female Tamale cripple with snark and a lewd attitude, my dude.
I own Ikuisuus, and don't take kindly to people who TG me telling me how to run it.

User avatar
Arkhall
Spokesperson
 
Posts: 189
Founded: Feb 11, 2018
Authoritarian Democracy

Postby Arkhall » Thu May 17, 2018 4:59 am

Arkhall wrote:
Arkhall wrote:I'm going to make a region and try doing the same thing, posting that factbook and using that WFE. See if it breaks again or if its just that region.

No matter how much of the WFE I put in, it says it's too long, unless its just the dispatch.

This is the biggest I can get the WFE, for some reason.
Code: Select all
[list][color=D713E8][url=https://wnationstates.net/nation=the_united_dark_republic/detail=factbook/id=1022244][u][b]Welcome[/b][/u][/url] to the [b]A[/b]tlantic || [b][i]Getting Where Together[/b][/i][url=♔ [b]Eighth Government[/b][hr][b][url=hestertic_role_play_region]RP Region[/url] ::

https://www.nationstates.net/region=nev ... _atlantica

It breaks the nesting again, either way.

Ransium wrote:If being dirty minded was against site rules I'd be DOS.
Hatterleigh wrote:Sandwiches are a social construct.
Last Plains wrote:I've been given limitless power and I'm in a bad mood.
The New California Republic wrote:Nietzsche is just laughable, it reads like tabloid trash.
I'm a female Tamale cripple with snark and a lewd attitude, my dude.
I own Ikuisuus, and don't take kindly to people who TG me telling me how to run it.

User avatar
Trotterdam
Postmaster-General
 
Posts: 10543
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Thu May 17, 2018 5:07 am

Wait, I found a way to acquire the BBcode. It's returned by the API.

Code: Select all
[list][color=D713E8][url=https://wnationstates.net/nation=the_united_dark_republic/detail=factbook/id=1022244][u][b]Welcome[/b][/u][/url] to the [b]A[/b]tlantic || [b][i]Getting Where Together[/b][/i][url=&amp;#9812; [b]Eighth Government[/b][hr][b][url=hestertic_role_play_region]RP Region[/url] :: [url=https://www.nationstates.net/nation=the_united_dark_republic/detail=ok/id=599497]Registry[/url] :: [url=https://discord.gg/PdNSvnw]Discord[/url] :: [url=https://www.nationstatest/nation=the_united_dark_republic/detail=factbook/id=818942]Elections[/url][/b][hr] [b]News[/b] &amp;#128240;[url=http://regionalnek.weebly.com][b]RNN[/b][/url] | [url=http://atlanticrbc.weebly.com/][b]RBC[/b][/url] | [url=https://sites.google.com/view/kyrotelegraph/home][b]KYT[/b][/url] | [url=https://woolwarz.wixsite.com/woolwarz][b]WR[*]Z[/b][/url][hr][b]Activity &amp;#128340;[/b][/color][list][color=37E816][*] [*]Regional mem[url=bership] hits all-time high of 279 (41s[/url]t in NS), previo[hr]us record was 268 residents.[*] Elected and reelectare now sworn-in; Constructivcoalition.[*] Click [b][url=https://docs.google.com/forms/d/1Q &amp;#64;z8I0FZthE1GUADGuHrWrhY97mN Wx-AtQBFfKV]YNphI/viewform?edit_requested=true]Here[/url][/b] to sign up for [url=https://www.nationstates.net/region=new_western_atlantic_role_play_region]Roleplay[/url].[/list][hr][i] Please join the [url=https://www.nationstates.net/page=un]World Assembly to incre[/url]ase regional, aand endorse [nation=short+noflag]TUntd Da Rblic[/nation][/i].[quote=NationStates Moderators;27308224][i]Have[/i][/quote][/color]


Okay, there are defintely some problems here.

The [list] tag is misnested with the [color] tag. The [color] and the first [url] tag are miscoded, though in a way that shouldn't cause a formatting break. The second [url] "tag", well...
Code: Select all
[url=&amp;#9812; [b]Eighth Government[/b][hr][b][url=hestertic_role_play_region]RP Region[/url]
That's definitely a problem.

The "regional membersship" line is just as broken in the BBcode as the HTML result suggested.

And then there's this:
Code: Select all
[url=https://docs.google.com/forms/d/1Q &amp;#64;z8I0FZthE1GUADGuHrWrhY97mN Wx-AtQBFfKV]YNphI/viewform?edit_requested=true]
So somehow "@" became "&#64;" which then became "&amp;#64;", and I'm pretty sure you're not even supposed to use character entities in URLs anyway.

User avatar
He Qixin
Diplomat
 
Posts: 606
Founded: Aug 28, 2017
Ex-Nation

Postby He Qixin » Thu May 17, 2018 5:10 am

Arkhall wrote:
Arkhall wrote:No matter how much of the WFE I put in, it says it's too long, unless its just the dispatch.

This is the biggest I can get the WFE, for some reason.
Code: Select all
[list][color=D713E8][url=https://wnationstates.net/nation=the_united_dark_republic/detail=factbook/id=1022244][u][b]Welcome[/b][/u][/url] to the [b]A[/b]tlantic || [b][i]Getting Where Together[/b][/i][url=♔ [b]Eighth Government[/b][hr][b][url=hestertic_role_play_region]RP Region[/url] ::

https://www.nationstates.net/region=nev ... _atlantica

It breaks the nesting again, either way.

Can I see what you did? The nesting doesn't break for my region.
Last edited by He Qixin on Thu May 17, 2018 5:10 am, edited 1 time in total.
jacknjellify wrote:Watch Battle For Dream Island or be eliminated.

According to this index, this civilization is:
Tier: 8
Level: 5
Type: 6
A 9 civilization because I lean more towards it.

This nation is always used to post in the forums unless the forum is the WA, for which I use Triangle and Square, a WA member, to post.

User avatar
Arkhall
Spokesperson
 
Posts: 189
Founded: Feb 11, 2018
Authoritarian Democracy

Postby Arkhall » Thu May 17, 2018 5:13 am

He Qixin wrote:
Arkhall wrote:https://www.nationstates.net/region=nev ... _atlantica

It breaks the nesting again, either way.

Can I see what you did? The nesting doesn't break for my region.

I just copy pasted the code and removed until it let it update. It probably has to do with the weird code itself, not just the factbook.

Ransium wrote:If being dirty minded was against site rules I'd be DOS.
Hatterleigh wrote:Sandwiches are a social construct.
Last Plains wrote:I've been given limitless power and I'm in a bad mood.
The New California Republic wrote:Nietzsche is just laughable, it reads like tabloid trash.
I'm a female Tamale cripple with snark and a lewd attitude, my dude.
I own Ikuisuus, and don't take kindly to people who TG me telling me how to run it.

User avatar
Arkhall
Spokesperson
 
Posts: 189
Founded: Feb 11, 2018
Authoritarian Democracy

Postby Arkhall » Thu May 17, 2018 5:16 am

It could be that "[url=♔]" tag that's breaking it.

Ransium wrote:If being dirty minded was against site rules I'd be DOS.
Hatterleigh wrote:Sandwiches are a social construct.
Last Plains wrote:I've been given limitless power and I'm in a bad mood.
The New California Republic wrote:Nietzsche is just laughable, it reads like tabloid trash.
I'm a female Tamale cripple with snark and a lewd attitude, my dude.
I own Ikuisuus, and don't take kindly to people who TG me telling me how to run it.

User avatar
He Qixin
Diplomat
 
Posts: 606
Founded: Aug 28, 2017
Ex-Nation

Postby He Qixin » Thu May 17, 2018 5:19 am

Arkhall wrote:It could be that "[url=♔]" tag that's breaking it.

very likely wait nope

i tried it again, and it broke nesting. gr8
Last edited by He Qixin on Thu May 17, 2018 5:21 am, edited 1 time in total.
jacknjellify wrote:Watch Battle For Dream Island or be eliminated.

According to this index, this civilization is:
Tier: 8
Level: 5
Type: 6
A 9 civilization because I lean more towards it.

This nation is always used to post in the forums unless the forum is the WA, for which I use Triangle and Square, a WA member, to post.

User avatar
Arkhall
Spokesperson
 
Posts: 189
Founded: Feb 11, 2018
Authoritarian Democracy

Postby Arkhall » Thu May 17, 2018 5:25 am

He Qixin wrote:
Arkhall wrote:It could be that "[url=♔]" tag that's breaking it.

very likely wait nope

i tried it again, and it broke nesting. gr8

It's placing any BBcode inside the [url=] tag. I've tried all other BBcode, replacing the url with an actual link, and its only the bbcode inside the [url=] that breaks it. so [url=[hr]]ee[/url] breaks it, but [url=nationstates.net]ee[/url doesn't.

Ransium wrote:If being dirty minded was against site rules I'd be DOS.
Hatterleigh wrote:Sandwiches are a social construct.
Last Plains wrote:I've been given limitless power and I'm in a bad mood.
The New California Republic wrote:Nietzsche is just laughable, it reads like tabloid trash.
I'm a female Tamale cripple with snark and a lewd attitude, my dude.
I own Ikuisuus, and don't take kindly to people who TG me telling me how to run it.

User avatar
He Qixin
Diplomat
 
Posts: 606
Founded: Aug 28, 2017
Ex-Nation

Postby He Qixin » Thu May 17, 2018 5:30 am

Arkhall wrote:
He Qixin wrote:very likely wait nope

i tried it again, and it broke nesting. gr8

It's placing any BBcode inside the [url]tag. I've tried all other BBcode, replacing the url with an actual link, and its only the bbcode inside the [url=] that breaks it. so [url=[hr]]ee[/url] breaks it, but [url=nationstates.net]ee[/url doesn't.

yep, the [url=] tag definitely seems to be buggy.
jacknjellify wrote:Watch Battle For Dream Island or be eliminated.

According to this index, this civilization is:
Tier: 8
Level: 5
Type: 6
A 9 civilization because I lean more towards it.

This nation is always used to post in the forums unless the forum is the WA, for which I use Triangle and Square, a WA member, to post.

User avatar
Potato
Chargé d'Affaires
 
Posts: 494
Founded: Mar 10, 2017
Corrupt Dictatorship

Postby Potato » Thu May 17, 2018 5:55 am

Trotterdam wrote:Wait, I found a way to acquire the BBcode. It's returned by the API.

Code: Select all
[list][color=D713E8][url=https://wnationstates.net/nation=the_united_dark_republic/detail=factbook/id=1022244][u][b]Welcome[/b][/u][/url] to the [b]A[/b]tlantic || [b][i]Getting Where Together[/b][/i][url=&amp;#9812; [b]Eighth Government[/b][hr][b][url=hestertic_role_play_region]RP Region[/url] :: [url=https://www.nationstates.net/nation=the_united_dark_republic/detail=ok/id=599497]Registry[/url] :: [url=https://discord.gg/PdNSvnw]Discord[/url] :: [url=https://www.nationstatest/nation=the_united_dark_republic/detail=factbook/id=818942]Elections[/url][/b][hr] [b]News[/b] &amp;#128240;[url=http://regionalnek.weebly.com][b]RNN[/b][/url] | [url=http://atlanticrbc.weebly.com/][b]RBC[/b][/url] | [url=https://sites.google.com/view/kyrotelegraph/home][b]KYT[/b][/url] | [url=https://woolwarz.wixsite.com/woolwarz][b]WR[*]Z[/b][/url][hr][b]Activity &amp;#128340;[/b][/color][list][color=37E816][*] [*]Regional mem[url=bership] hits all-time high of 279 (41s[/url]t in NS), previo[hr]us record was 268 residents.[*] Elected and reelectare now sworn-in; Constructivcoalition.[*] Click [b][url=https://docs.google.com/forms/d/1Q &amp;#64;z8I0FZthE1GUADGuHrWrhY97mN Wx-AtQBFfKV]YNphI/viewform?edit_requested=true]Here[/url][/b] to sign up for [url=https://www.nationstates.net/region=new_western_atlantic_role_play_region]Roleplay[/url].[/list][hr][i] Please join the [url=https://www.nationstates.net/page=un]World Assembly to incre[/url]ase regional, aand endorse [nation=short+noflag]TUntd Da Rblic[/nation][/i].[quote=NationStates Moderators;27308224][i]Have[/i][/quote][/color]


Okay, there are defintely some problems here.

The [list] tag is misnested with the [color] tag. The [color] and the first [url] tag are miscoded, though in a way that shouldn't cause a formatting break. The second [url] "tag", well...
Code: Select all
[url=&amp;#9812; [b]Eighth Government[/b][hr][b][url=hestertic_role_play_region]RP Region[/url]
That's definitely a problem.

The "regional membersship" line is just as broken in the BBcode as the HTML result suggested.

And then there's this:
Code: Select all
[url=https://docs.google.com/forms/d/1Q &amp;#64;z8I0FZthE1GUADGuHrWrhY97mN Wx-AtQBFfKV]YNphI/viewform?edit_requested=true]
So somehow "@" became "&#64;" which then became "&amp;#64;", and I'm pretty sure you're not even supposed to use character entities in URLs anyway.

oh also

you dont need to use api

http://udl.taijitu.org/wfe_index/

xd
_%%%%%___%%%%__%%%%%__%%%%__%%%%%___%%%%__
_%%__%%__%%__%%___%%____%%__%%___%%_____%%__%%_
_%%%%%__%%__%%___%%____%%%%%____%%____%%___%%_
_%%_______%%__%%___%%____%%__%%____%%____%%__%%_
_%%________%%%%____%%____%%__%%____%%_____%%%%__

Audioslavia wrote:If someone wilfully steers it back towards 'yeah but what if a methodist dude does a sunni dude for four seconds on a Tuesday in spring what then is that bad?" then let us know
Proctopeo wrote:it's like when voldemort ate hitler's soul to become darth vader 2
Ifreann wrote:FEMINISM DESTROYED
The Archregimancy wrote:If any former members of the 1919-1945 Nationalsozialistische Deutsche Arbeiterpartei post in Moderation to complain that they're being trolled, I'll revisit this; but I suspect that they're a fairly small demographic within our forums.
Audioslavia wrote:We unfortunately don't banhammer people for being catastrophically smug.
Hello, I love you! Yes, you! You're a great human, keep going!

User avatar
Trotterdam
Postmaster-General
 
Posts: 10543
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Thu May 17, 2018 6:01 am

Potato wrote:oh also

you dont need to use api

http://udl.taijitu.org/wfe_index/

xd
I'm pretty sure that site gets its factbooks from the API.

User avatar
Potato
Chargé d'Affaires
 
Posts: 494
Founded: Mar 10, 2017
Corrupt Dictatorship

Postby Potato » Thu May 17, 2018 6:02 am

Trotterdam wrote:
Potato wrote:oh also

you dont need to use api

http://udl.taijitu.org/wfe_index/

xd
I'm pretty sure that site gets its factbooks from the API.

/shrug

Either way works, my point was that you don't need to find the API for it.
_%%%%%___%%%%__%%%%%__%%%%__%%%%%___%%%%__
_%%__%%__%%__%%___%%____%%__%%___%%_____%%__%%_
_%%%%%__%%__%%___%%____%%%%%____%%____%%___%%_
_%%_______%%__%%___%%____%%__%%____%%____%%__%%_
_%%________%%%%____%%____%%__%%____%%_____%%%%__

Audioslavia wrote:If someone wilfully steers it back towards 'yeah but what if a methodist dude does a sunni dude for four seconds on a Tuesday in spring what then is that bad?" then let us know
Proctopeo wrote:it's like when voldemort ate hitler's soul to become darth vader 2
Ifreann wrote:FEMINISM DESTROYED
The Archregimancy wrote:If any former members of the 1919-1945 Nationalsozialistische Deutsche Arbeiterpartei post in Moderation to complain that they're being trolled, I'll revisit this; but I suspect that they're a fairly small demographic within our forums.
Audioslavia wrote:We unfortunately don't banhammer people for being catastrophically smug.
Hello, I love you! Yes, you! You're a great human, keep going!

User avatar
Trotterdam
Postmaster-General
 
Posts: 10543
Founded: Jan 12, 2012
Left-Leaning College State

Postby Trotterdam » Thu May 17, 2018 6:26 am

I'm pretty sure that the API is, in fact, the more convenient way of doing this, given that the API is on the site itself, is the primary source, gives the most up-to-date results, and I'm already familiar with using the API for numerous other stuff.

User avatar
Potato
Chargé d'Affaires
 
Posts: 494
Founded: Mar 10, 2017
Corrupt Dictatorship

Postby Potato » Thu May 17, 2018 6:28 am

Trotterdam wrote:I'm pretty sure that the API is, in fact, the more convenient way of doing this, given that the API is on the site itself, is the primary source, gives the most up-to-date results, and I'm already familiar with using the API for numerous other stuff.

a-ok

I personally don't know how to find or use the API, so I'll just let you do you
_%%%%%___%%%%__%%%%%__%%%%__%%%%%___%%%%__
_%%__%%__%%__%%___%%____%%__%%___%%_____%%__%%_
_%%%%%__%%__%%___%%____%%%%%____%%____%%___%%_
_%%_______%%__%%___%%____%%__%%____%%____%%__%%_
_%%________%%%%____%%____%%__%%____%%_____%%%%__

Audioslavia wrote:If someone wilfully steers it back towards 'yeah but what if a methodist dude does a sunni dude for four seconds on a Tuesday in spring what then is that bad?" then let us know
Proctopeo wrote:it's like when voldemort ate hitler's soul to become darth vader 2
Ifreann wrote:FEMINISM DESTROYED
The Archregimancy wrote:If any former members of the 1919-1945 Nationalsozialistische Deutsche Arbeiterpartei post in Moderation to complain that they're being trolled, I'll revisit this; but I suspect that they're a fairly small demographic within our forums.
Audioslavia wrote:We unfortunately don't banhammer people for being catastrophically smug.
Hello, I love you! Yes, you! You're a great human, keep going!

User avatar
Wings of Amnesty
Lobbyist
 
Posts: 14
Founded: Feb 09, 2018
Moralistic Democracy

Postby Wings of Amnesty » Mon May 21, 2018 4:52 am

Bumperino.

Ransium wrote:If being dirty minded was against site rules I'd be DOS.
Hatterleigh wrote:Sandwiches are a social construct.
Last Plains wrote:I've been given limitless power and I'm in a bad mood.
The New California Republic wrote:Nietzsche is just laughable, it reads like tabloid trash.
I'm a female Tamale cripple with snark and a lewd attitude, my dude.
I own Ikuisuus, and don't take kindly to people who TG me telling me how to run it.

User avatar
Eluvatar
Director of Technology
 
Posts: 3086
Founded: Mar 31, 2006
New York Times Democracy

Postby Eluvatar » Mon May 21, 2018 4:32 pm

This is certainly annoying. I'd rather you fix your bbcode in the short term than wait for us to fix the NSCode parser for this case.

We should fix it though.
To Serve and Protect: UDL

Eluvatar - Taijitu member


Advertisement

Remove ads

Return to Technical

Who is online

Users browsing this forum: 9003, Baharan, Comfed, Economichunger, Google [Bot], Grishahakkaverchynot, Hapilopper, Kractero, M-x B-rry, Mechanocracy, Memester, Migre, New Fernia, New Illyricum

Advertisement

Remove ads