There’s a nl2br Smarty filter on the display of the address, so newline characters in the settings should result in <br/> elements being added. Are you sure that field doesn’t have the content all entered on one line?
Regards,
Alec Smecher
Public Knowledge Project Team
I am having the same issue.
I have tried any possible html tag for line breaking (<br>, <p>, <div>, with and without slash), both in the dashboard and directly in the db.
Here is what is written in the dashboard field:
CLARA Architecture/Recherche
Faculté d'Architecture La Cambre Horta, Université libre de Bruxelles
Pl. Flagey, 19
1050 - Bruxelles
BELGIQUE
And here is the answer to the recommended query select * from journal_settings where setting_name='mailingAddress'
CLARA Architecture/Recherche
Faculté d'Architecture La Cambre Horta, Université libre de Bruxelles
I think the issue is that you’re using CSS classes that have defined styles from elsewhere in OJS. Try removing those classes or renaming them to something else.
Regards,
Alec Smecher
Public Knowledge Project Team
Hi @asmecher,
Thank you for the prompt response. I realize there must be a long list of post requiring your attention, however, it would greatly benefit the forum not to give for granted that users are in fact experienced developers.
In short, I am not aware of using
unless the fact that I have installed the Bootstrap3 theme plugin could cause that?
In any case, I would not know from where to start to
Would you consider putting me on the right track?
Thank you again.
Regards,
Axel F CLARA Architecture/Recherche Journal
Thank you @asmecher,
This makes more sense.
The values are (copied from 2.4.7 configuration file as was before upgrade): allowed_html = "<a href|target> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b> <i> <u> <img src|alt> <sup> <sub> <br> <p>"
Does this help?
Ah, that’s the issue. The syntax for that setting has changed – see config.TEMPLATE.inc.php for the new syntax. You should be able to just copy that default setting over to your config.inc.php. Once the changed setting is in place, try reloading the Contact page again – you shouldn’t need to e.g. edit the mailing address or anything before the change will be visible.
Regards,
Alec Smecher
Public Knowledge Project Team