I believe it shouldn't, please have a look at line 83 and then at 85. In case there is no `?as=html` in the url it should work.

Maybe for the sake of example this one is way too advanced.