indyank - 3:09 am on Nov 4, 2012 (gmt 0)
The code is a simple one. It just appends .html to the Page permalink structure using the wordpress URL rewrite object.
I believe indyank's code still depends on the .htaccess implementation as again there is no way for wp without the help of apache/.htaccess to implement url rewriting.
no, it doesn't depend on .htaccess.