1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug Tooltip differs from thread title

Discussion in 'Resolved Bug Reports' started by James, Aug 4, 2010.

  1. James

    James Well-Known Member

    This thread has multiple spacing in its title and it is stripped in the actual thread title, but when you hover over it on forumhome the spacing is noticeable (see attachment).

    Attached Files:

  2. Enigma

    Enigma Well-Known Member

    Not much you can do about this unless you want to go about stripping excessive whitespace from thread titles, which is probably not a good idea.
  3. Erik

    Erik Well-Known Member

    Yeah, technically not a bug. If you look at the HTML for the thread, the whitespace is actually there in the source. It's just that your browser is stripping the extra spaces because it isn't supposed to display more than 1 consecutive space. Tooltips do not obey this rule, hence the discrepancy. This is really the browser's fault more than anything else. :)

    It could be fixed by stripping whitespace from thread titles, but that's not ideal. :)
  4. Mike

    Mike XenForo Developer Staff Member

    As stated, this is basically just how HTML works.

Share This Page