Making WordPress.org


Ignore:
Timestamp:
12/19/2017 04:22:37 PM (8 years ago)
Author:
obenland
Message:

PLugins: Clean up formatting with phpcbf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-markdown.php

    r3511 r6287  
    4242         * markdown will preserve things like underscores in code blocks.
    4343         */
    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 );
    4545        $text = str_replace( array( "\r\n", "\r" ), "\n", $text );
    4646
Note: See TracChangeset for help on using the changeset viewer.