summaryrefslogtreecommitdiff
path: root/modules/book
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-12 06:27:06 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2008-10-12 06:27:06 +0000
commita3a420c3e6f3805a91448c877a8a423f7232198c (patch)
tree355650769d2e533c6dc6c6d38ad057cca622b727 /modules/book
parentf76acb2d9d421ff705be6fd2713b8cc2c007e1df (diff)
downloadbrdo-a3a420c3e6f3805a91448c877a8a423f7232198c.tar.gz
brdo-a3a420c3e6f3805a91448c877a8a423f7232198c.tar.bz2
Roll-back of #242873: This caused horrendous problems with SimpleTest on some configurations.
Diffstat (limited to 'modules/book')
-rw-r--r--modules/book/book.admin.inc2
-rw-r--r--modules/book/book.pages.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/book/book.admin.inc b/modules/book/book.admin.inc
index be8fe7b4a..088c2d68a 100644
--- a/modules/book/book.admin.inc
+++ b/modules/book/book.admin.inc
@@ -70,7 +70,7 @@ function book_admin_settings_validate($form, &$form_state) {
* @ingroup forms.
*/
function book_admin_edit($form_state, $node) {
- drupal_set_title($node->title);
+ drupal_set_title(check_plain($node->title));
$form = array();
$form['#node'] = $node;
_book_admin_table($node, $form);
diff --git a/modules/book/book.pages.inc b/modules/book/book.pages.inc
index 01dfe3881..6ec9ce00c 100644
--- a/modules/book/book.pages.inc
+++ b/modules/book/book.pages.inc
@@ -90,7 +90,7 @@ function book_export_html($nid) {
* Menu callback; show the outline form for a single node.
*/
function book_outline($node) {
- drupal_set_title($node->title);
+ drupal_set_title(check_plain($node->title));
return drupal_get_form('book_outline_form', $node);
}