This repository was archived by the owner on Nov 10, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ function to_markdown( $params = array() ) {
9292 $ general_section_formatter = function ( $ body ) use ( $ params ) {
9393 $ body = preg_replace (
9494 '#\[youtube\s+(?:http://www\.youtube\.com/watch\?v=|http://youtu\.be/)(.+?)\]# ' ,
95- '[](http ://www.youtube.com/watch?v=$1) ' ,
95+ '[](https ://www.youtube.com/watch?v=$1) ' ,
9696 $ body
9797 );
9898 // Convert <pre lang="php"> into GitHub-flavored ```php markdown blocks
@@ -145,7 +145,7 @@ function to_markdown( $params = array() ) {
145145 function ( $ contributor ) {
146146 $ contributor = strtolower ( $ contributor );
147147 // @todo Map to GitHub account
148- return sprintf ( '[%1$s](http ://profiles.wordpress.org/%1$s) ' , $ contributor );
148+ return sprintf ( '[%1$s](https ://profiles.wordpress.org/%1$s) ' , $ contributor );
149149 },
150150 $ this ->metadata ['Contributors ' ]
151151 )
@@ -154,7 +154,7 @@ function ( $contributor ) {
154154 ', ' ,
155155 array_map (
156156 function ( $ tag ) {
157- return sprintf ( '[%1$s](http ://wordpress.org/plugins/tags/%1$s) ' , $ tag );
157+ return sprintf ( '[%1$s](https ://wordpress.org/plugins/tags/%1$s) ' , $ tag );
158158 },
159159 $ this ->metadata ['Tags ' ]
160160 )
You can’t perform that action at this time.
0 commit comments