There seems to be a code somewhere that turns < and > to &lt ; and &gt ;, so my link didn't turn into a flag image but instead a long string like this:

Comments

aim8604’s picture

just come in to update the problem. I think I know the cause of my problem:

the flag image link <img... is stored in $link[title] and then in the template.php of my theme has this statement: check_plain($title) which rewrites special characters in a plain-text.

Anyway, removing this statement didn't solve anything. I also find the this statement commonly used in other files like theme.inc but it might be too far to delete all of it.

Freso’s picture

Status: Active » Postponed (maintainer needs more info)

Could you try changing your theme to (an unmodified) Garland and see if the problem is still there?

aim8604’s picture

No. With Garland, it is fine. :(

Freso’s picture

Well, I'm both glad and sorry to say that the problem isn't with the Language Icons module, then. :)

Are you using a contrib theme or one you've made yourself?

aim8604’s picture

Yes, I know that it's not the problem of the Language Icons module as well. The theme I used is the contributed one: Amor_azul.

Freso’s picture

Project: Language Icons » Amor Azul
Version: 6.x-1.0-rc1 » 6.x-1.x-dev
Category: support » bug
Status: Postponed (maintainer needs more info) » Active

Alright, then let's move the issue there, since that seems to be where the problem lie. :)

If I find the time, I'll try and look at the theme, but I can't (and won't) promise anything. I'm (unfortunately?) quite busy with a lot of things at the moment, so...