I installed Glossary.module version 4.4.0 and everytime a term in a post matches one in the glossary, after the gif interrogation I got a linebreak. Checking the source code, I've got that:

<a href="/glossary#2"><img src="/files/glossary.gif" /></a>

which doesn't look to me as wrong.

any clues?

Comments

marky’s picture

Check your themes css - images are display: block by default. Temporarily add:

img{
display: inline;
}

and see if it clears the problem. If so, consider raising a feature request against glossary.module as it should really add a class name to

$img = "<img src=\"". variable_get("glossary_icon", "glossary.gif"). "\" />";

at line 127 to enable you to style it's specific images.

Note the above css will set *all* images to display: inline, probably not what you want... ;)

efeefe’s picture

marky,

it did work for me. thanks.