Fork me on GitHub

Comment by arw (2012-06-21 09:31:40)

Edited by arw (2012-06-21 09:37:50)

 1:  1:
 issue is : issue is :
  
 [list=*] [list=*]
 [*]message [ quo[ b][ /b]te] [ quo[ b][ /b]te] [ quo[ b][ /b]te] posted[/*] [*]message [ quo[ b][ /b]te] [ quo[ b][ /b]te] [ quo[ b][ /b]te] posted[/*]
 [*]bbcode are parsed in [i]preparse_tags()[/i] : only [ b][ /b] is found several times and is ok[/*] [*]bbcode are parsed in [i]preparse_tags()[/i] : only [ b][ /b] is found several times and is ok[/*]
 [*]empty bbcode are removed : message become  [ quote] [ quote] [ quote][/*] [*]empty bbcode are removed : message become  [ quote] [ quote] [ quote][/*]
 [/list] [/list]
  
 the quote depth limit ( which is in [i]preparse_tags()[/i] ) will not work since at that moment there is no quote the quote depth limit ( which is in [i]preparse_tags()[/i] ) will not work since at that moment there is no quote
  
 it should either be : it should either be :
  
 [list=*] [list=*]
 [*]message [ quo[ b][ /b]te] [ quo[ b][ /b]te] [ quo[ b][ /b]te] posted[/*] [*]message [ quo[ b][ /b]te] [ quo[ b][ /b]te] [ quo[ b][ /b]te] posted[/*]
 [*]empty bbcode are removed : message become  [ quote] [ quote] [ quote][/*] [*]empty bbcode are removed : message become  [ quote] [ quote] [ quote][/*]
 [*]bbcode are parsed in [i]preparse_tags()[/i] : error [ quote] but no [ /quote][/*] [*]bbcode are parsed in [i]preparse_tags()[/i] : error [ quote] but no [ /quote][/*]
 [*][i]empty bbcode are removed : maybe it would be needed again, if preparse_tags could create new empty tags[/i][/*] [*][i]empty bbcode are removed : maybe it would be needed again, if preparse_tags could create new empty tags[/i][/*]
 [/list] [/list]
 or empty tags should not be removed or empty tags should not be removed
 +
 +
 +on other forum system, i often do things like [ qu[ b][ /b]ote] when i want to  just show the tag ( or overcome censorship )