Thread:Extension talk:Lingo/Line breaking bug in Lingo

I've got Lingo 0.4.3alpha running on MediaWiki 1.21.2, and for most part it works great. There's a corner case, though, where if you have a term with spaces in it (e.g. myocardial infarction), and the line happens to wrap in the middle of the term, you end up with a tooltip that goes off the right margin of the page. I'm doing some investigation, but one quick-and-dirty fix for it is to add  to the   CSS class in. That portion of my, for instance, reads:

.tooltip_abbr { border-bottom: 1px dotted #bbf; white-space: nowrap; }

This solves the problem, but it means that you can get some ugly line breaking patterns as a result. I'll keep investigating to see if there isn't a more elegant way to fix this bug.