int lua_tidy_DetectedXhtml(lua_State *L) { pTidy t = toTidy(L,1); lua_pushboolean(L, tidytolua_bool( tidyDetectedXhtml (t->tdoc))); return 1; }
/* {{{ proto boolean tidy_is_xhtml() Indicates if the document is a XHTML document. */ static PHP_FUNCTION(tidy_is_xhtml) { TIDY_FETCH_OBJECT; RETURN_BOOL(tidyDetectedXhtml(obj->ptdoc->doc)); }