Changeset 1485
- Timestamp:
- 12/22/07 14:37:48 (10 months ago)
- Files:
-
- devel/mod/pages/lib/pages.inc.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/pages/lib/pages.inc.php
r1471 r1485 157 157 $content = trim(optional_param('page-content')); 158 158 } 159 $content = html_entity_decode($content);160 159 $name = trim(optional_param('page-name')); 161 160 $parent = optional_param('menu-parent', 0, PARAM_INT); … … 427 426 $input_content = pages_html_wrap('label', __gettext('Content:'), array('for' => 'page-content')); 428 427 $input_content .= pages_html_wrap( 429 'textarea', html entities($page->content),428 'textarea', htmlspecialchars($page->content, ENT_NOQUOTES, 'utf-8'), // prevent parsing html tags like <textarea> 430 429 array( 431 430 'id' => 'page-content',
