Fix HTML dump from Artisan console.
Merge branch '4.0'