Hi!
This is a very smart module! Congrats for being the one to cook it up! :)

I wonder, does this work inside html tags? It would be beautiful to have language dependant title and alt tags for an image.

Comments

Boletus’s picture

Assigned: Unassigned » Boletus
Status: Active » Closed (fixed)

Darn! :D It actually worked right out of the box! Happy happy happy! :)

andy inman’s picture

I was going to say that it should work, even though I hadn't tried, but too late :)

I think it should work in most situations, though you may need to tweak the order of filters in special cases. The thing most likely to cause a problem is if some other filter in the chain does something with the === markers, in which case you should be able to solve it by setting up the "alternative pattern" in the config.

> It would be beautiful to have language dependent title and alt tags for an image.

I hadn't thought of that!

Thanks for the feedback.