[wp-meta] [Making WordPress.org] #217: URL's in [sourcecode] shortcode makeclickable() on 'make'
Making WordPress.org
noreply at wordpress.org
Wed Oct 30 02:32:20 UTC 2013
#217: URL's in [sourcecode] shortcode makeclickable() on 'make'
-------------------+-------------------------------------
Reporter: netweb | Owner:
Type: defect | Status: new
Priority: normal | Component: make.wordpress.org / P2
Keywords: |
-------------------+-------------------------------------
Via https://github.com/Viper007Bond/syntaxhighlighter/issues/27
Take a look at http://make.wordpress.org/core/handbook/automated-
testing/#installation
Code being used in the WordPress blog post:
{{{#!bash
[sourcecode language="bash" autolinks="false"]
$ svn co http://develop.svn.wordpress.org/trunk/ wordpress-develop
$ cd wordpress-develop
[/sourcecode]
}}}
Resulting Code Display Output:
{{{#!bash
$ svn co <a href="http://develop.svn.wordpress.org/trunk/"
rel="nofollow">http://develop.svn.wordpress.org/trunk/</a> wordpress-
develop
$ cd wordpress-develop
}}}
Expected Code Display Output
{{{#!bash
$ svn co http://develop.svn.wordpress.org/trunk/ wordpress-develop
$ cd wordpress-develop
}}}
Comment from @viper007bond on
[https://github.com/Viper007Bond/syntaxhighlighter/issues/27 GitHub Issue]
`autolinks` controls the highlighter and basically toggles making URLs
clickable in the final render. It's entirely client-side.
This looks like make_clickable() at work but I can't reproduce this
though. I copy/pasted the whole source code from the handbook into my 3.7
test install and it worked as expected. Perhaps this is exposing a bug in
some code custom to WP.org. Hmm..
--
Ticket URL: <http://meta.trac.wordpress.org/ticket/217>
Making WordPress.org <http://meta.trac.wordpress.org/>
WordPress blogging software
More information about the wp-meta
mailing list