diff --git a/shortcodes/oik-geshi.php b/shortcodes/oik-geshi.php index 5869a44..b5abf0f 100644 --- a/shortcodes/oik-geshi.php +++ b/shortcodes/oik-geshi.php @@ -127,11 +127,11 @@ function bw_geshi__syntax( $shortcode="bw_geshi" ) { * * @param string $shortcode */ -function bw_geshi__example( $shortcode="bw_css" ) { +function bw_geshi__example( $shortcode="bw_geshi" ) { $text = __( "Demonstrating the HTML to create a link to oik-plugins.com", "oik-css" ); BW_::p( $text ); $example = "[$shortcode"; - $example .= ' html .]' . __( "Visit oik-plugins.com", "oik-css" ) . '[/bw_geshi'; + $example .= ' lang=html]' . __( "Visit oik-plugins.com", "oik-css" ) . '[/bw_geshi'; $example .= ']'; sp(); stag( "code" ); diff --git a/tests/data/bb_BB/test_bw_geshi__example_bb_BB.html b/tests/data/bb_BB/test_bw_geshi__example_bb_BB.html index 9572cd9..c262cff 100644 --- a/tests/data/bb_BB/test_bw_geshi__example_bb_BB.html +++ b/tests/data/bb_BB/test_bw_geshi__example_bb_BB.html @@ -3,9 +3,17 @@

Dmenotsaritng thE HMTL tO certae A lnik tO OIk-puligns.cOm

-[bw_css html .]<a href="https://www.oik-plugins.com">Vsiit OIk-puligns.cOm</a>[/bw_geshi] +[bw_geshi lang=html]<a href="https://www.oik-plugins.com">Vsiit OIk-puligns.cOm</a>[/bw_geshi]

+
+ +<a href += +"https://www.oik-plugins.com">Vsiit OIk-puligns.cOm</ +a> + +

-Vsiit OIk-puligns.cOm[/bw_geshi]

+

diff --git a/tests/data/en_GB/test_bw_geshi__example.html b/tests/data/en_GB/test_bw_geshi__example.html index 416264b..942e61c 100644 --- a/tests/data/en_GB/test_bw_geshi__example.html +++ b/tests/data/en_GB/test_bw_geshi__example.html @@ -3,9 +3,17 @@

Demonstrating the HTML to create a link to oik-plugins.com

-[bw_css html .]<a href="https://www.oik-plugins.com">Visit oik-plugins.com</a>[/bw_geshi] +[bw_geshi lang=html]<a href="https://www.oik-plugins.com">Visit oik-plugins.com</a>[/bw_geshi]

+
+ +<a href += +"https://www.oik-plugins.com">Visit oik-plugins.com</ +a> + +

-Visit oik-plugins.com[/bw_geshi]

+