1
spacejoee
How to "autoclose" opened BBcodes ?
  • 2009/2/24 23:10

  • spacejoee

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/25


Hello Guys,
Anybody have trick to auto close opened bbcodes ?
for exemple, if someone forgot to close the [ quote ] code, all my div layout are affected.
Any body had a similar issue with [quote] ?

2
ghia
Re: How to "autoclose" opened BBcodes ?
  • 2009/2/25 2:03

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


If you use the buttons in the editor, they are automatically closed.
For making manually added tags closed, there is always the problem of where to close them. Any place will be the wrong one.
It seems here at the forum it introduces a non closed <blockquote>. That's weird, I assumed that the check in XoopsCodeDecode searched for a pair in the quote tags.