WordsProcessing: HtmlFormatProvider: Add support for the dir attribute when applied on elements different from <p>
At this point, the dir attribute is respected when applied on p elements. However, it can be defined for the whole document as an attribute of the html element: