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

Fixed html<=>bbcode converter

Discussion in 'Resolved Bug Reports' started by cclaerhout, Jun 6, 2013.

  1. cclaerhout

    cclaerhout Well-Known Member

    I put it here but it seems you're working on it since the converter doesn't give the same results than yesterday.

    Html:
    01.png
    BbCode:
    Code:
    [B]dzad[COLOR=#e36c09]zadzad[/COLOR]zadz[/B]
    [B] [/B]
    [B]ad[COLOR=#c09100]zad[/COLOR]za[/B]
     
  2. cclaerhout

    cclaerhout Well-Known Member

    I don't know if it can help since you will probably use an iterator system instead of regex, but there are some testing patterns at the end of this file.
     
  3. Mike

    Mike XenForo Developer Staff Member

    That particular example is now fixed, but I'm intentionally leaving this here as there's still some work to be done here.
     
  4. Mike

    Mike XenForo Developer Staff Member

    I'm sure there will still be some odd cases, but I've made significant changes to some of this parsing today so hopefully it should be better/cleaner.
     
    cclaerhout likes this.

Share This Page