1. For prospective new members, a word of warning: don't use common names like Dennis, Simon, or Kenny if you decide to create an account. Spammers have used them all before you and gotten those names flagged in the anti-spam databases. Your account registration will be rejected because of it.
    Dismiss Notice
  2. Since it has happened MULTIPLE times now, I want to be very clear about this. You do not get to abandon an account and create a new one. You do not get to pass an account to someone else and create a new one. If you do so anyway, you will be banned for creating sockpuppets.
    Dismiss Notice
  3. If you wish to change your username, please ask via conversation to tehelgee instead of asking via my profile. I'd like to not clutter it up with such requests.
    Dismiss Notice
  4. Due to the actions of particularly persistent spammers and trolls, we will be banning disposable email addresses from today onward.
    Dismiss Notice

Can't put zeroes in tables???

Discussion in 'Suggestions & Bugs' started by Rathmun, Apr 18, 2020.

  1. Rathmun

    Rathmun Well worn.

    Joined:
    Nov 21, 2014
    Messages:
    5,502
    Likes Received:
    98,382
    This table should have zeroes "0" on the diagonal from top left to bottom right.
     123
    1 12
    21 1
    321 
    And yet when I preview it or post it, those cells are empty.
    When I inspect the BBCode before posting, the "0" characters are where I'd expect them to be. The full table appears as thus
    Code:
    [xtable]
    {tbody}
    {tr}
    {td}0{/td}
    {td}1{/td}
    {td}2{/td}
    {td}3{/td}
    {/tr}
    {tr}
    {td}1{/td}
    {td}0{/td}
    {td}1{/td}
    {td}2{/td}
    {/tr}
    {tr}
    {td}2{/td}
    {td}1{/td}
    {td}0{/td}
    {td}1{/td}
    {/tr}
    {tr}
    {td}3{/td}
    {td}2{/td}
    {td}1{/td}
    {td}0{/td}
    {/tr}
    {/tbody}
    [/xtable]
    
    But if I go to edit the post after having posted it, the bbcode for the table has changed to this.
    Code:
    [xtable=skin1]
    {tbody}
    {tr}
    {td} {/td} 
    {td}1{/td} 
    {td}2{/td} 
    {td}3{/td}
    {/tr}
    {tr}
    {td}1{/td} 
    {td} {/td} 
    {td}1{/td} 
    {td}2{/td}
    {/tr}
    {tr}
    {td}2{/td} 
    {td}1{/td} 
    {td} {/td} 
    {td}1{/td}
    {/tr}
    {tr}
    {td}3{/td} 
    {td}2{/td} 
    {td}1{/td} 
    {td} {/td}
    {/tr}
    {/tbody}
    [/xtable]
    
     
    doug89 likes this.
  2. doug89

    doug89 I trust you know where the happy button is?

    Joined:
    Feb 26, 2017
    Messages:
    961
    Likes Received:
    7,883
    ⁣0⁣⁣123
    10⁣⁣12
    210⁣⁣1
    3210⁣⁣
    The forum is using 0 for null in this case? You could experiment with invisible unicode characters. Non-breaking spaces don't seem work, but the "Invisible Separator (U+2063)" appears to. I put one after each zero. It probably increased the column width by one character, but it's not noticeable.

    I looked at this in Chrome, Firefox, and my Android phone and it worked for all three.
     
    Last edited: Apr 21, 2020