diff --git a/r2/r2/templates/link.html b/r2/r2/templates/link.html
index 67ae2f2e6..f7e323482 100644
--- a/r2/r2/templates/link.html
+++ b/r2/r2/templates/link.html
@@ -79,9 +79,10 @@
%def>
<%def name="flair()">
- %if c.user.pref_show_link_flair and (thing.flair_text or thing.flair_css_class):
+ <% css = thing.flair_css_class or '' %>
+ %if c.user.pref_show_link_flair and (thing.flair_text or css):
## TODO: clean this up
-
+
${thing.flair_text}
%endif