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

XF 1.3 Creating A Horizontal Rule BBCode

Discussion in 'XenForo Questions and Support' started by The Dark Wizard, Mar 12, 2014.

  1. The Dark Wizard

    The Dark Wizard Well-Known Member

    So my bbcode does this: <span class="horizontal-rule {option}">{text}</span>

    Code:
    [rule][/rule]
    If I put text inbetween the bbcode, the line appears under the text.

    But if I want just the line and but nothing inbetween, no line appears. Any ideas?
     
  2. Mike

    Mike XenForo Developer Staff Member

    The short answer is that empty BB codes are ignored. I think there is an internal option related to this, but it isn't exposed as an option externally.
     
  3. The Dark Wizard

    The Dark Wizard Well-Known Member

    Hmm.

    Would there be any easy way that you could think of to accomplish this? Trying to make as little addons as possible for bbcodes.

    Or should we just code it?
     
  4. Mike

    Mike XenForo Developer Staff Member

    Since it's not exposed anywhere, it would require a code modification of some sort to support.
     
  5. The Dark Wizard

    The Dark Wizard Well-Known Member

    Thanks.
     

Share This Page