1. Visiting from the US? Why not try DIYnot.US instead? Click here to continue to DIYnot.US.
    Dismiss Notice

Font size changes being automatically removed.

Discussion in 'Forum Information' started by ban-all-sheds, 22 Jun 2018.

  1. ban-all-sheds

    Joined:
    27 Aug 2003
    Messages:
    65,405
    Thanks Received:
    2,718
    Location:
    London
    Country:
    United Kingdom
    I tried posting this (NOTE - I've edited the size tags so that they don't get picked up as such, and people can see what I entered):

    1. -[S|ZE=7] [/S|ZE]Unless the supply is TT there is no good reason to prefer a plastic enclosure, unless they are significantly cheaper.
    2. -[S|ZE=7] [/S|ZE]No future "non combustible" requirements would mean you were forced to replace a plastic one with a metal one.

    Basically I wanted the space after the '-' in each line to be larger. A space is allowable there, and does not get removed. A larger size for any other character is allowable, and does not get removed.

    Why does the larger size for a space get removed?

    This is the block of text without the tags fiddled with, shown as BB Code:

    upload_2018-6-22_23-37-0.png

    and this is what it gets changed to by the site, either on posting or on switching into BB Code and back out:

    upload_2018-6-22_23-38-48.png

    Why?

    Who benefits from this "feature", and in what way?
     
  2. IWalkLikeHimaMartian

    Joined:
    25 Jan 2017
    Messages:
    4,743
    Thanks Received:
    57
    Country:
    United Kingdom
    My guess is that a 'space' does not exist in any font.
    For example, if you look in character map or similar, there is no 'space' available in any type of font.
     
  3. DIYnot

    Staff Member

    Joined:
    17 Aug 2001
    Messages:
    2,353
    Thanks Received:
    434
    Country:
    United Kingdom
    Space is a character (ASCII 32). In this case the underlying software is removing empty tags, as it considers a lone space as 'empty'. There are many cases where empty tags are left in a post and so they are cleaned out.
     
  4. ban-all-sheds

    Joined:
    27 Aug 2003
    Messages:
    65,405
    Thanks Received:
    2,718
    Location:
    London
    Country:
    United Kingdom
    A single space between two non-space characters isn't really "empty".
     
  5. ban-all-sheds

    Joined:
    27 Aug 2003
    Messages:
    65,405
    Thanks Received:
    2,718
    Location:
    London
    Country:
    United Kingdom
    Oh well - I'll keep trying to find a way to do what I actually want to achieve - a greater line spacing with lists.
     
Loading...

Share This Page