Changeset 6287 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-markdown.php
- Timestamp:
- 12/19/2017 04:22:37 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-markdown.php
r3511 r6287 42 42 * markdown will preserve things like underscores in code blocks. 43 43 */ 44 $text = preg_replace_callback( "!(<pre><code>|<code>)(.*?)(</code></pre>|</code>)!s", array( $this, 'code_trick_decodeit_cb' ), $text );44 $text = preg_replace_callback( '!(<pre><code>|<code>)(.*?)(</code></pre>|</code>)!s', array( $this, 'code_trick_decodeit_cb' ), $text ); 45 45 $text = str_replace( array( "\r\n", "\r" ), "\n", $text ); 46 46
Note: See TracChangeset
for help on using the changeset viewer.