Search found 384 matches
- Sat May 18, 2013 3:22 am
- Forum: [3.x][Archive] RFCs
- Topic: [RFC|Accepted] Updated BBcode engine
- Replies: 146
- Views: 249313
Re: [RFC|Accepted] Updated BBcode engine
Bumping this topic to see if there's some new activity that I missed. Is there something I can do on my side to help you move forward? Also, since the discussion has moved away from its original RFC, wouldn't it make sense to create a new RFC/topic? Perhaps even more than one RFC, so that you can br...
- Sat Feb 02, 2013 1:54 am
- Forum: [3.x][Archive] RFCs
- Topic: [RFC|Accepted] Updated BBcode engine
- Replies: 146
- Views: 249313
Re: [RFC|Accepted] Updated BBcode engine
Yes, multiple attributes are supported, as well as default attributes as per your first example. Attribute values can be in single quotes, double quotes, or no quotes. The backslash serves as the escape character inside of quotes. Unquoted values extend either to the end of the tag, as in [QUOTE=Joh...
- Sat Feb 02, 2013 12:21 am
- Forum: [3.x][Archive] RFCs
- Topic: [RFC|Accepted] Updated BBcode engine
- Replies: 146
- Views: 249313
Re: [RFC|Accepted] Updated BBcode engine
It's been a month since my last post here so I thought I'd post an update of my progress on the text formatting library I'm working on, s9e\TextFormatter . Most of the changes are not directly related to phpBB, but I always keep phpBB in mind when designing new parts or refactoring old parts of the ...
- Wed Jan 02, 2013 2:59 am
- Forum: [3.x][Archive] RFCs
- Topic: [RFC|Accepted] Updated BBcode engine
- Replies: 146
- Views: 249313
Re: [RFC|Accepted] Updated BBcode engine
Multiple rendering backends. This is a subject I have barely scratched because I haven't seen a host that doesn't support ext/xsl and I was under the impression it was enabled by default, as opposed to being included by default. One possible alternative to using ext/xsl is to compile the template in...
- Wed Jan 02, 2013 12:31 am
- Forum: [3.x][Archive] RFCs
- Topic: [RFC|Accepted] Updated BBcode engine
- Replies: 146
- Views: 249313
Re: [RFC|Accepted] Updated BBcode engine
Thanks. I'm aiming at 100% coverage , minus a few codepaths that are unreachable under normal conditions. I haven't really checked the performance of any specific situation, even though I have a good idea of the parameters in play. The BBCode parser uses one big preg_match_all() to find where the BB...
- Tue Jan 01, 2013 10:48 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC|Accepted] Updated BBcode engine
- Replies: 146
- Views: 249313
Re: [RFC|Accepted] Updated BBcode engine
I'm following up on my previous post. As I said, I've been working on a text formatting library, s9e\TextFormatter , for a little while now. Today, even though I still considering it some ways from being in a releasable state I have registered the project on Travis https://travis-ci.org/s9e/TextForm...
- Thu Dec 20, 2012 10:51 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC|Accepted] Updated BBcode engine
- Replies: 146
- Views: 249313
Re: [RFC|Accepted] Updated BBcode engine
I see that this topic has been relatively active lately thanks to brunoais's efforts, so it would feel disingenuous if I waited more to say that I'm currently writing a text formatting library, which includes a BBCode plugin. And since my long-term goal is to see it included in forum softwares (with...
- Thu Dec 20, 2012 12:33 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC|Accepted] Updated BBcode engine
- Replies: 146
- Views: 249313
Re: [RFC|Accepted] Updated BBcode engine
allow only some bbcodes inside of the quote-username About BBCodes inside the [quote] author, in my experience it's a feature that almost nobody uses. I don't have access to a large corpus, but in my own data I've only found 48 occurrences of those in ~255K posts (or ~0.02%), and all of them were a...
- Thu Dec 13, 2012 11:48 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC|Accepted] Updated BBcode engine
- Replies: 146
- Views: 249313
Re: [RFC|Accepted] Updated BBcode engine
I don't disagree with displaying an error. Giving the user feedback seems like a good idea indeed, but the parser still has to be able to make out something of the garbled post to handle automated processes such as converting old posts from an older version or from another forum software. I've been ...
- Thu Dec 13, 2012 5:11 pm
- Forum: [3.x][Archive] RFCs
- Topic: [RFC|Accepted] Updated BBcode engine
- Replies: 146
- Views: 249313
Re: [RFC|Accepted] Updated BBcode engine
There are plenty of cases of bad user-submitted markup. Whenever reasonably possible and if the intent is obvious, I'll try to fix it. If the intent is not obvious to me, I'll defer to the HTML rules if they're simple enough to implement. Otherwise, I'd try to go with whatever makes sense and is sim...