# Using [tag:] markup in posts creates an ugly gap between lines

Using [tag:] markup in posts on (meta.)math.SE creates an ugly and unnecessary gap between the current and the following line of text. For example, see the following screenshot from this answer:

Or this live example:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

The gap is even more prominent in lists:

• Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

On many other SE sites, such tag links are rendered with explicit boxes around them, and in such cases, increasing the line height may be unavoidable. However, on math.SE, the tags are just written in a sans-serif font and surrounded by parentheses, so the extra line height is completely unnecessary.

Adding the following CSS rule to the math.SE style sheet fixes this bug:

.post-text .post-tag, .wmd-preview .post-tag {
display: inline;
margin: 0;
}


(Of course, instead of just slapping on a CSS patch like above, it would be better to fix the existing CSS rule which it overrides.)

• Yes, it works fine in lists too. If you're feeling adventurous and want to test it, you can install the devel version of SOUP. – Ilmari Karonen Aug 9 '14 at 21:56
• Soup is good food. (You've made a good meal.) – Asaf Karagila Aug 9 '14 at 22:51
• @900sit-upsaday: Thanks! Ugh, though... looks like that's really two bugs in one: first, that the default link colors here don't properly distinguish visited links from unvisited, and second, that the question / answer links on the search results page lack the class names that would normally override those colors e.g. on the front page. I can fix either or both in SOUP fairly easily, but I'll need to see what, if any, side effects messing with the default link colors would have. Also, if you feel like writing a proper bug report to replace the deleted one, that'd save me some work. – Ilmari Karonen Aug 9 '14 at 23:27
• @900sit-upsaday: Huh, I didn't realize owner-deleted posts could be undeleted by the community. Anyway, I just cast the third vote, so it's undeleted now. – Ilmari Karonen Aug 10 '14 at 0:58
• If the issue resurfaces, ping or make a new post. – Daniel Fischer Jun 24 '15 at 9:45