Change compiler service.
Use curl to compile.
Do not attach if document type is not html.
Merge commit 'c79087f0fd6177843b7a25153e78e740c52f36f0'