Fixed Forgotten spaces

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

  1. VincentU 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 XenForo Developer

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

Share This Page