WordPress.org

Ready to get started?Download WordPress

Forums

WP-Markdown
WP-Markdown adds and (1 post)

  1. starwing
    Member
    Posted 1 year ago #

    I post using MarsEdit.

    Whenever I post something, I noticed that WP-Markdown adds <p> and </p> to each of my paragraphs. (Cant see this view editor on web, Only on MarsEdit)

    I found this code in markdown-extra.php to be the culprit.

    if ($is_p) {
    				$value = "<p>$value</p>";
    			}
    			$grafs[$key] = $value;
    		}

    I have changed it to

    if ($is_p) {
    				$value = "$value";
    			}
    			$grafs[$key] = $value;
    		}

    Not sure if there would be any repercussion, but if you could look into this in your next update would be appreciated.

    http://wordpress.org/extend/plugins/wp-markdown/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.