fix gallery caption title selector

title style should only apply to the first strong element in the caption