summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Serbinski2006-02-21 05:58:41 (GMT)
committer Ted Serbinski2006-02-21 05:58:41 (GMT)
commitef6204c66c68d9d130d62aae7ef2f63d2fe85e50 (patch)
treedead970b1878f5f8c5d15fb75c353401d0b19728
parent3418dc827ec1f473c50f37e7709bcfc3661ddd22 (diff)
fixed entity encoding issues
-rw-r--r--tinymce.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/tinymce.module b/tinymce.module
index 648420f..259309f 100644
--- a/tinymce.module
+++ b/tinymce.module
@@ -487,12 +487,13 @@ function tinymce_config($profile) {
// Is tinymce on by default?
$status = isset($user->tinymce_status) ? $user->tinymce_status : variable_get('tinymce_default_state', 0);
+
$init['mode'] = $status == 1 ? 'exact' : 'none';
$init['theme'] = $settings['theme'] ? $settings['theme'] : 'simple';
$init['document_base_url'] = "$base_url/";
$init['language'] = $settings['language'] ? $settings['language'] : 'en';
$init['safari_warning'] = variable_get('tinymce_safari_message', 0) ? 'true' : 'false';
-
+ $init['entity_encoding'] = 'raw';
$init['verify_html'] = $settings['verify_html'] ? $settings['verify_html'] : 'false';
$init['preformatted'] = $settings['preformatted'] ? $settings['preformatted'] : 'false';
$init['convert_fonts_to_styles'] = $settings['convert_fonts_to_styles'] ? $settings['convert_fonts_to_styles'] : 'false';