I have to translate the titles of some images or galleries.. when I add <br> in the [i]image title, it works well in the image page, but it shows literally as "<br>" in the browser title!
Is there a workaround this issue? or another way to make the title show in two lines as I want?
Thanks,
Posts: 16504
Install the Purifier module
http://codex.gallery2.org/Gallery3:Modules:purifier
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 158
I have it installed, that's why the title in the page is right.. My question is about the title tag that shows at the top of the browser..
Posts: 27300
The title was not designed for multi lines. It is a title not a description.
That said you will have to create a custom theme and edit the page.html.php
find
<?= $theme->item()->title ?>
and chnage to
<?= preg_replace("'<br>'", ' ', $theme->item()->title); ?>
remember that <br /> is different that <BR> and <br>
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 16504
oops, thanks Dave!
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 158
perfect.. thanks,