I’m thinking it would be neat to leave it alone since what you type in the ALT or TITLE attributes have no reason to be changed in the first place. Do you agree? I would pretty much ignore anything in <a> or <img> tags all together… Also, anything that is in an attribute of any other HTML element has no reason to be changed either. For example, if I had an acronym set to replace “HP” with the following…
<a href="http://www.gadgetell.com/tech/tag/HP/">HP</a>
...and the following was the text of my post (in the body field)…
<div class="HP">Hewlett Packard</div>
...I wouldn’t want it to replace the HP class in the div tag either. Now I would never have a new class in a post specific to a company, but I could see this being an issue with others.... so I figured I should throw it out there. It would probably be best to ignore anything within “<” and “>”.
Thoughts?