I am using OJS version 3.1.2 and the html tags that I am putting in the announsments, the announsments page are not reflected. I already have the allowed_html variable set in the config.inc.php file, with all the tags I need What else could it be.
Do you have access to the files of your OJS instance? Can you confirm that in the correspondent template you have this line: pkp-lib/announcement_full.tpl at 5fbfa71d5c31d9d9231ea76f5beaa57b15fdd2f0 · pkp/pkp-lib · GitHub?
The path to the file is: lib/pkp/templates/frontend/objects/announcement_full.tpl
What I want to confirm is that the announcement description is escaped with strip_unsafe_html.
Did the curly-quotes come in from an intermediate copy-and-paste, or do these appear in config.inc.php? If you have styleized quotes like “ and ” in config.inc.php, try swapping them out for plain double quotes, like " ".
@diegomejia07, are you comfortable debugging the PHP code? I think the next step would be to copy your site into a test/development server and then either connect a remote debugger, or add some error_log PHP statements to try to see what is going on.
[Mon Apr 13 16:36:05.430010 2020] [php7:warn] [pid 13718] [client 66.249.79.201:64004] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /var/www/html/site.revistas.udea.edu.co/plugins/generic/addThis/AddThisPlugin.inc.php on line 0, referer: https://revistas.udea.edu.co/plugins/generic/pdfJsViewer/pdf.js/build/pdf.worker.js
[Mon Apr 13 16:36:05.452794 2020] [php7:warn] [pid 13659] [client 190.250.175.166:15531] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/site.revistas.udea.edu.co/plugins/generic/driver/DRIVERDAO.inc.php on line 19, referer: Revista Interamericana de BibliotecologĂa
Or is it that I am missing some extension on my server or something else, since it is very strange that this happens, and also I think I have everything well configured.
If you are comfortable editing the PHP code, you could add an error_log() statement to the PKPString::stripUnsafeHtml() method to debug what is going on.