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

Fixed Rich Editor improper handling of formatting edge case

Discussion in 'Resolved Bug Reports' started by Warchamp7, Mar 30, 2016.

  1. Warchamp7

    Warchamp7 Active Member



    [CENTER]
    [spoiler]
    Line of text

    [LIST]
    [*]Item 1
    [list]
    [*]Nested Item
    [/list]
    [*]Item 2
    [/list]
    [/spoiler]
    [/CENTER]



    Enter this into the editor and toggle the Rich Editor on and off. The Rich Editor will incorrectly place Spoiler tags around "Line of Text" causing the below



    Line of text
    • Item 1
      • Nested Item
    • Item 2

    Expected behaviour:


    Line of text

    • Item 1
      • Nested Item
    • Item 2
     
  2. Mike

    Mike XenForo Developer Staff Member

    The spoiler code is sort of incidental here -- the issue is generally caused by lists within alignment tags.

    I believe I have this fixed now. There were actually 3 distinct bugs here that I had to work through to make this behave as expected when editing and when saving the edit.
     
    Warchamp7 likes this.

Share This Page