Style fixes for HTML source view

Fixes #154 

/cc @diegoreymendez 
I'll bust it up in to separate methods.