Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A fix for IE8 #10

Open
mgussekloo opened this issue May 24, 2013 · 0 comments
Open

A fix for IE8 #10

mgussekloo opened this issue May 24, 2013 · 0 comments

Comments

@mgussekloo
Copy link

Just something I discovered: Making sure the formatterredactor::run() method uses case-insensitive preg_replace enables Redactor in IE8. Formatter.redactor.php, line 17:

$string = preg_replace('/<(img|hr|br|link|meta|input|param|base|area|meta)((\s+\w+(\s*=\s*("[^"]*"|\'[^\']*\'|\w+))?)*)\s*>/i', '<$1$2/>', $string);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant