Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1521)
+++ branches/2.8.x/CHANGELOG	(revision 1522)
@@ -10,6 +10,10 @@
 # = Bugfix
 ! = Update/Change
 
+----------------------------------- Fixes 2.8.2 --------------------------------
+12 Nov-2011 Build 1522 Werner v.d.Decken(DarkViper)
+# /modules/output_filter/filter-routines.php little fix to inserting mdcr.js
+# /modules/form/view.php little fix depending from recoded output filter
 =========================== add small Features 2.8.2 ==========================
 09 Nov-2011 Build 1521 Dietmar Woellbrink (Luisehahne)
 ! update jquery to version 1.6.4
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1521)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1522)
@@ -52,4 +52,4 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.2');
-if(!defined('REVISION')) define('REVISION', '1521');
+if(!defined('REVISION')) define('REVISION', '1522');
Index: branches/2.8.x/wb/modules/form/view.php
===================================================================
--- branches/2.8.x/wb/modules/form/view.php	(revision 1521)
+++ branches/2.8.x/wb/modules/form/view.php	(revision 1522)
@@ -32,7 +32,7 @@
 // obtain the settings of the output filter module
 if(file_exists(WB_PATH.'/modules/output_filter/filter-routines.php')) {
 	include_once(WB_PATH.'/modules/output_filter/filter-routines.php');
-	$filter_settings = get_output_filter_settings();
+	$filter_settings = getOutputFilterSettings();
 } else {
 	// no output filter used, define default settings
 	$filter_settings['email_filter'] = 0;
@@ -231,17 +231,6 @@
 
 // Print footer
 echo $footer;
-
-/**
-	NOTE: comment out the line ob_end_flush() if you indicate problems (e.g. when using ob_start in the index.php of your template)
-	With ob_end_flush(): output filter will be disabled for this page (and all sections embedded on this page)
-	Without ob_end_flush(): emails are rewritten (e.g. name@domain.com --> name(at)domain(dot)com) if output filter is enabled
-	All replacements made by the Output-Filter module will be reverted before the email is send out
-*/
-if($filter_settings['email_filter'] && !($filter_settings['at_replacement']=='@' && $filter_settings['dot_replacement']=='.')) {
-  /* 	ob_end_flush(); */
-}
-
 // Add form end code
 ?>
 </form>
Index: branches/2.8.x/wb/modules/output_filter/filter-routines.php
===================================================================
--- branches/2.8.x/wb/modules/output_filter/filter-routines.php	(revision 1521)
+++ branches/2.8.x/wb/modules/output_filter/filter-routines.php	(revision 1522)
@@ -117,7 +117,7 @@
 			if(is_readable($script)) {
 				$scriptLink = '<script src="'.$script.'" type="text/javascript"></script>';
 				$regex = '/(.*)(<\s*?\/\s*?head\s*>.*)/isU';
-				$replace = '$1<script src="'.$scriptLink.'" type="text/javascript"></script>$2';
+				$replace = '$1'.$scriptLink.'$2';
 				$content = preg_replace ($regex, $replace, $content);
 				$output_filter_mode |= pow(2, 2); // n | 2^2
 			}
