WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Multiple consecutive text urls in pre element (4 posts)

  1. ric0
    Member
    Posted 3 years ago #

    I have a pre element with multiple consecutive text urls(not clickable).
    In the editor they are consecutive, but when I click to view the post, they are not consecutive anymore, they have blank lines between them.

    <pre>
    http://sdadsadd
    http://sdadsadd
    http://sdadsadd
    http://sdadsadd
    http://sdadsadd
    </pre>

    In which php file this is done?

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Try looking in your theme's stylesheet.

  3. ric0
    Member
    Posted 3 years ago #

    I tried with the default theme and in the rss feed, and is the same.

    In the editor HTML

    In the editor visual

    In the database

    In the post view

    In the html post view

  4. ric0
    Member
    Posted 3 years ago #

    I solved my problem,
    in the file media.php, the function autoembed_callback
    returns return "\n$return\n";
    after removing the \n all fixed!

Topic Closed

This topic has been closed to new replies.

About this Topic