The national gay rights organization, Freedom to Marry, has released a pretty interesting study that shows that elected officials who support marriage equality and oppose anti-gay legislation do not suffer at the polls as a result of those votes.
 
The study reviewed the the votes of elected officials on LGBT issues and specifically marriage equality issues, and found that all 1,100 elected officials who had cast ballots in support of marriage equality had been re-elected to office.

Study authors looked at votes in California, Mass., New York and Conn. and tracked their votes since 2005.