I'm trying to encode a normal quote character (") into the HTML equivalent ("& quot"). I know I can easily s/"/& quot;/, but I'm looking for something which will encode all quotes outside of angle brackets (< >), in essence, leaving HTML alone. So, the following: