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.module5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/book/book.module b/modules/book/book.module
index 3a51bc4c8..2a7c7acfe 100644
--- a/modules/book/book.module
+++ b/modules/book/book.module
@@ -1122,11 +1122,10 @@ function theme_book_export_html($title, $content) {
$html .= "<head>\n<title>". $title ."</title>\n";
$html .= '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />';
$html .= '<base href="'. $base_url .'/" />'."\n";
- $html .= "<style type=\"text/css\">\n@import url(misc/print.css);\n";
+ $html .= '<link type="text/css" rel="stylesheet" href="misc/print.css" />';
if (defined('LANGUAGE_RTL') && $language->direction == LANGUAGE_RTL) {
- $html .= "@import url(misc/print-rtl.css);\n";
+ $html .= '<link type="text/css" rel="stylesheet" href="misc/print-rtl.css" />';
}
- $html .= "</style>\n";
$html .= "</head>\n<body>\n". $content ."\n</body>\n</html>\n";
return $html;
}