WordPress.org

Plugin Directory

Changeset 490488


Ignore:
Timestamp:
01/16/12 07:13:18 (2 years ago)
Author:
mattwiebe
Message:

don't remove wptexturize'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • markdown-on-save-improved/trunk/markdown-on-save.php

    r490477 r490488  
    4242        add_action( 'load-post-new.php', array( $this, 'load') ); 
    4343        remove_action( 'the_content', 'wpautop' ); 
    44         remove_action( 'the_content', 'wptexturize' ); 
    4544        add_action( 'the_content', array($this, 'maybe_default_formatting') ); 
    4645        // Markdown breaks autoembedding by wrapping URLs on their own line in paragraphs 
     
    5352        if ( ! $this->is_markdown( get_the_ID() ) ) { 
    5453            $content = wpautop($content); 
    55             $content = wptexturize($content); 
    5654        } 
    5755        return $content; 
Note: See TracChangeset for help on using the changeset viewer.