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

Fixed Forgotten spaces

Discussion in 'Resolved Bug Reports' started by Vincent, Feb 1, 2012.

  1. Vincent

    Vincent Well-Known Member

    There are quite a few places where xen:checked is used, but a space between the previous and the current attribute is forgotten.

    Example:
    Code:
    <dd><input type="checkbox" name="use_gravatar" value="1" class="Disabler" id="ctrl_use_gravatar"{xen:checked '{$visitor.gravatar}'} />
    Should be
    Code:
    <dd><input type="checkbox" name="use_gravatar" value="1" class="Disabler" id="ctrl_use_gravatar" {xen:checked '{$visitor.gravatar}'} />
    This is a common "error" in templates:
    • account_avatar: 1 time
    • account_avatar_overlay: 2 times
    • search_form: 2 times
    • search_form_post: 5 times
    The same happens with xen:selected in some templates:
    • search_form: 2 times
    • search_form_post: 5 times
    This isn't really a huge bug, but I just thought I'd let you know :)
     
  2. Mike

    Mike XenForo Developer Staff Member

    Actually, the space is supposed to be optional - it now outputs a space if needed.
     
    Vincent likes this.

Share This Page