Fix #1146 -- add dir=rtl to <html> tag where necessary

Signed-off-by: Chris “Kwpolska” Warrick <kwpolska@gmail.com>
Merge pull request #1181 from getnikola/fix-rtl

Fix #1146 -- add dir=rtl to <html> tag where necessary