Quantcast
Channel: PKP Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 27297

Links and strip_unsafe_html

$
0
0

@primozs wrote:

Dear,

I would like to get href link working in an article abstract, but it doesn't work. As far as I understand the cause for that is the "strip_unsafe_html" that is used in the statement:

    <div>{$article->getLocalizedAbstract()|strip_unsafe_html|nl2br}</div>

If I remove it, the link works. Can you please explain to me what is the purpose of the "strip_unsafe_html"?

Further on I have read the PKP forum and verified the PHP "allowed_html" variable:

  • in the config.php.ini and in php.ini it is set and includes href

  • but if I verify variables in OJS using System information" and "Extended PHP Information" that variable is not listed there.

Regards, Primož

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 27297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>