3
Hi
I found that adding an i (the modifer for upper and lower case) worked for me.
Frameworks/textsanitizer/plugins/image.php lines 17-22 just add an i to the end after SU as below, tried it with the Frameworks\textsanitizer\module.texsanitizer.php file first but that didn't work for me.
$ts->patterns[] = "/\[img align=(['\"]?)(left|center|right)\\1 width=(['\"]?)([0-9]*)\\3]([^\"\(\)\?\&'<>]*)\[\/img\]/sUi";
$ts->patterns[] = "/\[img align=(['\"]?)(left|center|right)\\1]([^\"\(\)\?\&'<>]*)\[\/img\]/sUi";
$ts->patterns[] = "/\[img width=(['\"]?)([0-9]*)\\1]([^\"\(\)\?\&'<>]*)\[\/img\]/sUi";
$ts->patterns[] = "/\[img]([^\"\(\)\?\&'<>]*)\[\/img\]/sUi";
$ts->patterns[] = "/\[img align=(['\"]?)(left|center|right)\\1 id=(['\"]?)([0-9]*)\\3]([^\"\(\)\?\&'<>]*)\[\/img\]/sUi";
$ts->patterns[] = "/\[img id=(['\"]?)([0-9]*)\\1]([^\"\(\)\?\&'<>]*)\[\/img\]/sUi";
info:
http://www.regular-expressions.info/modifiers.htmlHope this helps
Sue x