mirror of
https://github.com/danpros/htmly.git
synced 2026-04-19 03:56:21 +05:30
Update functions.php
This commit is contained in:
parent
9fc56c7b80
commit
337b45acbb
1 changed files with 1 additions and 1 deletions
|
|
@ -1221,7 +1221,7 @@ function get_author($name)
|
|||
// Get the contents and convert it to HTML
|
||||
$author->about = MarkdownExtra::defaultTransform(remove_html_comments($content));
|
||||
|
||||
$author->description = strip_tags($author->about);
|
||||
$author->description = safe_html(strip_tags($author->about));
|
||||
|
||||
$toc = explode('<!--toc-->', $author->about);
|
||||
if (isset($toc['1'])) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue