The Supreme Court’s historic ruling guaranteeing a right to same-sex marriage inspired countless online tributes—many companies added rainbow backgrounds to their logos.

But the most interesting technical innovation was on Twitter. Soon after the ruling was announced, the hashtag #LoveWins began trending nationwide, and anyone who used the hashtag found that there was a rainbow heart embedded after the hashtag. Celebrities, publications and corporations all hopped on the bandwagon:

When I checked Twitter this morning #LoveWins pic.twitter.com/RYsPJKx1F2 — George Takei (@GeorgeTakei) June 26, 2015

An incredible historic day I will one day tell my grandchildren. Thank you to everyone who fought so hard for this for so long #LoveWins — Meghan McCain (@MeghanMcCain) June 26, 2015

It looks like the Twitter engineers built the heart into the system after President Obama used the hashtag to show his support for the ruling:

Today is a big step in our march toward equality. Gay and lesbian couples now have the right to marry, just like anyone else. #LoveWins — President Obama (@POTUS) June 26, 2015

We’ve reached out to Twitter for comment, and will update this post if they respond.

UPDATE: Thanks to Observer writer Jordyn Taylor, we discovered that tweeting #Pride will see a rainbow flag embedded in their tweet.