Archived topic
Bug with HTML tags in site description
3 replies · Started by Anonymous on August 11, 2016
Hello everyone,
Just wanted to let you know that there is a tiny bug in the template-tags.php regarding the use of html tags in the site description.
In the template-tags.php it says:
<?php echo html_entity_decode( bloginfo( 'description' ) ); ?>
when it actually should say:
<?php echo html_entity_decode( get_bloginfo( 'description' ) ); ?>
This way HTML tags in the site description (e.g. <br> ) will actually be interpreted as HTML and not just be printed out.
Oh and I love that theme. Great work really!
Cheers
Rene
Interesting - thanks for letting me know! I'll test this out and add it to the next version :)
I've made this change. You can grab the latest code from our repo: https://github.com/tomusborne/GeneratePress
Thanks!
You're welcome! :]