From b6673c4e416affcfe644473cb8fc6009d04ee971 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 16 Oct 2009 12:25:10 -0400
Subject: [PATCH] - fix regular expression for malformed tags handler
---
program/include/html.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/include/html.php b/program/include/html.php
index 78e696c..350b894 100644
--- a/program/include/html.php
+++ b/program/include/html.php
@@ -457,7 +457,7 @@
unset($this->attrib['value']);
}
- if (!empty($value) && !ereg('mce_editor', $this->attrib['class'])) {
+ if (!empty($value) && !preg_match('/mce_editor/', $this->attrib['class'])) {
$value = Q($value, 'strict', false);
}
--
Gitblit v1.9.1