willmcgugan / postmarkup

Automatically exported from code.google.com/p/postmarkup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

phpBB style tags?

GoogleCodeExporter opened this issue · comments

Would it be possible to add the regexes to support the new phpBB style tags?

They use the initial tag, then a string, such as

This is a [i:3n12v252]test[/i:3n12v252]  rather than simply This is a 
[i]test[/i].

The string is a bbcode ID, which could be safely ignored, and just treat it as 
it it wasn't there.

Original issue reported on code.google.com by cda...@savingstar.com on 26 Jan 2012 at 11:31

Possibly. What are these IDs used for?

Original comment by willmcgugan on 26 Jan 2012 at 11:44

phpBB uses them to help prevent BBcode-related exploits.
http://www.phpbbhacks.com/forums/what-does-bbcode-uid-mean-vt59141.html

In my case, however, I'm happy to just ignore them when parsing.

But when they're in there, the code as written is stripping them out, but not 
replacing them with <em><strong> etc.

Original comment by cda...@savingstar.com on 27 Jan 2012 at 12:01

Would you always want to completely ignore these tags or would it be useful to 
just ignore the id?

Marking this as wontfix, mainly because I don't have the time to implement it. 
Would consider a patch though.

Original comment by willmcgugan on 18 Nov 2012 at 4:52

  • Changed state: WontFix