HTML Purifier 2.0.0 released

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

umm, one suggestion I have for your site is that documentation is not as easy to find as it should be. There should be a clear and unambiguous link that says "Documentation" or "docs" so that even the dumbest of dummies can find it. Just some constructive criticism.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

I was considering renaming the "Resources" button on the nav-bar to "Docs". But then the label's not really that accurate, since I have non-documentation things in that section.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Maybe Docs/Resources? :P

Sometimes, you just have to go with it. I mean, you name a navigation bar "navigation," even if it contains other things like ads, user stats, or footnotes. But Resources doesn't exactly sound like Documentation.. it sounds as though it's external.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

I just went ahead and posted a short article about html purifier for now. There will be a longer article once I get a chance to play with it :)
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

I've renamed resources to Docs. Eventually, it will get its own page, I'll have to think up of a good format for it.

Oh, BTW, I can't find your blog post. Is it on the company blog?
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

hmm... strange. I know I posted it. Stupid Wordpress... I'll fix it. Hang on :)

EDIT: I accidentally adjusted the timestamp to a date in the future. LOL
User avatar
ReverendDexter
Forum Contributor
Posts: 193
Joined: Tue May 29, 2007 1:26 pm
Location: Chico, CA

Post by ReverendDexter »

FYI: I got an warning on your demo page with the given demo links:

Warning: Cannot set undefined directive Core.AutoParagraph to value in /home/.mair/ezyang/htmlpurifier.org/live/library/HTMLPurifier/Config.php on line 185

This was using Opera 9.21 over XP.

It still works and shows the purified code and all, it just has that nasty warning sitting on top.
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Fixed.

It's actually going to be a new feature for HTML Purifier: smart auto-paragraphing. Google's always done it wrong (things between list items, for instance, would get totally invalid paragraph tags) so I finally sat down and implemented it for HTML Purifier. It won't auto-paragraph things in <pre> or <ul> tags, and it's totally semantic.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Awesome :D

I'll be sure to pick it up and dissect the code to see how you do it. I came up short. ;)
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

I hate to be too release happy, but it looks like I'm going to be wrapping up the 2.0.1 release soon. Some of it is usability fixes: more friendly filesystem permission checks and a few edge-case buggy behavior fixes (mostly to do with allowing script tags, haha), but then there's a big batch of experimental beta features that I'm going to also be letting out with this supposedly minor version increment. Mainly auto-paragraphing, linkification, error collection and a spiffy new demo system.

It probably isn't healthy to be stashing so many "beta" features into a minor version number increment, but the way I look at it, no one has to enable these features. :lol:

Oh, and on a more serious note, first ever security vulnerability. It's not in the main application code though. Has to do with unfiltered print_r output. The conscientious can delete smoketests/configForm.php if you're really concerned about it, but it's reflected XSS so it's not an immediate threat.
User avatar
Maugrim_The_Reaper
DevNet Master
Posts: 2704
Joined: Tue Nov 02, 2004 5:43 am
Location: Ireland

Post by Maugrim_The_Reaper »

I blogged it - finally ;).

Judging by a quick search the publicity steamroller is clearing a swath through Google.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Yep, there's an article about it here: http://www.php-mag.net/magphpde/magphpd ... eid,5.html
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Dude, Ambush is teetering on studliness with that app.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

My article comes up on the second page of google for "html purifier" :) http://www.google.com/search?q=html+purifier&start=10

#1 for HTML Purifier v2.0.0 http://www.google.com/search?q=html+purifier+v2.0.0
Last edited by Luke on Wed Jun 27, 2007 1:56 pm, edited 1 time in total.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

It shows up as #6 from that link. For me anyway.

:( Mine doesn't even show up. What the crap?!?!?!?!?!?

Edit | Well, it does, but second from the last on page 7. Double :(
Post Reply