Fix: W3C
Fix: Remove space char at end of document and viewimage.