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

Not a Bug Spoiler HTML code error

Discussion in 'Resolved Bug Reports' started by Arty, Feb 7, 2014.

  1. Arty

    Arty Well-Known Member

    Spoiler bbcode generates invalid HTML for button that reveals spoiler:
    <button class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly"
    title="Click to reveal or hide spoiler"
    data-target="> .SpoilerTarget">
    There is > in data-target value that should be changed to &gt;
  2. Mike

    Mike XenForo Developer Staff Member

    You are allowed to use > unescaped there -- just not " and &.
    Divvens likes this.

Share This Page