Plugin README Parser
wpautop not executed on every page (1 post)

  1. micz
    Posted 2 years ago #

    When I activate the plugin the wpautop function is not executed on every page of my blog, so all the auto breaklines are removed.

    I think it's due to the lines contained in this if clause: https://plugins.trac.wordpress.org/browser/wp-readme-parser/tags/1.2/PHP%20Markdown%20Extra/markdown.php#L87

    They are always executed and not only in a page with one of the plugin's shortcodes, because of this statement: https://plugins.trac.wordpress.org/browser/wp-readme-parser/tags/1.2/PHP%20Markdown%20Extra/markdown.php#L43

    I think the problem might occur also for comments (see this statement https://plugins.trac.wordpress.org/browser/wp-readme-parser/tags/1.2/PHP%20Markdown%20Extra/markdown.php#L44 and this if clause https://plugins.trac.wordpress.org/browser/wp-readme-parser/tags/1.2/PHP%20Markdown%20Extra/markdown.php#L124 ), but I haven't tested it.

    May you fix this?



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Plugin README Parser
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic