WordPress.org

Ready to get started?Download WordPress

Forums

translation text shows in .po file with html in it (1 post)

  1. mgason
    Member
    Posted 2 years ago #

    Hi,
    this is the code in the theme
    <div class="nav-next fr"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'storefront' ) ); ?></div>
    in the translation .po file the string to translate appears as
    Newer posts <span class=\"meta-nav\">&rarr;</span>
    That does not seem right to me?
    Should that html be in there, if not what is wrong with the PHP?

Topic Closed

This topic has been closed to new replies.

About this Topic