Changeset 5912
- Timestamp:
- Mar 21, 2008, 3:48:28 AM (14 years ago)
- Location:
- OpenPNE/branches/work/ebihara/prj_deco_diary/webapp/lib/smarty_plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/work/ebihara/prj_deco_diary/webapp/lib/smarty_plugins/modifier.t_decoration.php
r5808 r5912 7 7 function smarty_modifier_t_decoration($string, $is_strip = false) 8 8 { 9 $regexp = '/(<|<)(op:.+?):?(#[0-9a-f]{3,6}|)(>|>)(.*?)\1\/\2\4/i ';9 $regexp = '/(<|<)(op:.+?):?(#[0-9a-f]{3,6}|)(>|>)(.*?)\1\/\2\4/ims'; 10 10 11 11 if ($is_strip) { -
OpenPNE/branches/work/ebihara/prj_deco_diary/webapp/lib/smarty_plugins/modifier.t_decoration_ktai.php
r5898 r5912 7 7 function smarty_modifier_t_decoration_ktai($string) 8 8 { 9 $regexp = '/(<|<)(op:.+?):?(#[0-9a-f]{3,6}|)(>|>)(.*?)\1\/\2\4/i ';9 $regexp = '/(<|<)(op:.+?):?(#[0-9a-f]{3,6}|)(>|>)(.*?)\1\/\2\4/ims'; 10 10 $converted = preg_replace_callback($regexp, '_smarty_modifier_t_decoration_convert_ktai', $string); 11 11
Note: See TracChangeset
for help on using the changeset viewer.