Remove text from "option" tags during HTML filtering for captions

thenickdudethenickdude Registered Users Posts: 1,302 Major grins
edited September 12, 2013 in SmugMug Feature Requests
Hey guys,

I've got a drop-down menu in the captions for one of my photos:
This is my photo caption
<select name="product">
<option value="4x6">4x6 $0.01 USD</option>
<option value="8x12">8x12 $0.02 USD</option>
<option value="16x25">16x25 $0.04 USD</option>
</select>

SmugMug runs an HTML tag stripper to create the text version of my caption (which is displayed in places like the info bar on the bottom of the image for Landscape Collage galleries). When that is applied, I end up with this as my caption:
This is my photo caption 4x6 $0.01 USD 8x12 $0.02 USD 16x25 $0.04 USD

It would be great if, before the tag-stripper runs, it would remove <option> tags and their contents in their entirety. Something like /<option[^<]+?<\/option>/gi would probably do it.
Sign In or Register to comment.