summaryrefslogtreecommitdiff
path: root/modules/book/book.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/book/book.module')
-rw-r--r--modules/book/book.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 595d87d2d..66d5b8b03 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -1119,6 +1119,7 @@ function template_preprocess_book_export_html(&$variables) {
$variables['language'] = $language;
$variables['language_rtl'] = ($language->direction == LANGUAGE_RTL);
$variables['head'] = drupal_get_html_head();
+ $variables['dir'] = $language->direction ? 'rtl' : 'ltr';
}
/**