Fix html function

an aliasing issue was breaking the `html` method (it was invoking its argument of same name instead of the privately scoped `html` function)