Update Templates/html/document-template.html

Fixed rendering issue on iPad
Update Templates/html/object-template.html

Fixed rendering issue on iPad
Merge pull request #327 from camjknight/master

Fixed issue #306