It might but it may cause other problems with other tags... also I think the replacement variable is run after all other mods so it wouldn't help in this case.
Ideally you'd need some type of search and replace on your database using a regular expression to find your old <img> tags and update them to xhtml <img> tags....
But I wouldn't get involved in something risking your database if things don't go well.
Another solution but not ideal would be a plugin that runs on postbit_display_complete with executon order 1 (so it runs before this mod) to change your html <img> tags to xhtml <img> on the fly. But it would really depend on how consistent your existing tags were entered. Is it always src="" before alt="" for example? if they were inconsistent this wouldn't work.
|