auto render partial if XHTMLRequest option

Signed-off-by: pussbb <pussbb@gmail.com>