Some admin themes e.g. Ember use CSS selectors based on the text direction however node embed page doesn't specify this so it breaks some of the styling.

This patch simply adds the the correct attributes on the html tag.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

akbardhedhi created an issue. See original summary.

akbardhedhi’s picture

FileSize
610 bytes
akbardhedhi’s picture

Issue summary: View changes
vijaycs85’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
Assigned: akbardhedhi » Unassigned
Status: Active » Needs review
Issue tags: +Novice

Looks good to me. +1 to RTBC.

imrancluster’s picture

Title: Include language and and text direction in popup html » Include language and text direction in popup html
imrancluster’s picture

FileSize
613 bytes

In the above patch need semicolon for print statement.

vijaycs85’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

paulvandenburg’s picture

Status: Reviewed & tested by the community » Needs review
FileSize
612 bytes
743 bytes

Thanks for the work so far, I'm planning on committing this soon.
However I'd like to see this updated to the latest HTML5 standards. See attached patch.