Skip to content

Commit fe4a342

Browse files
committed
Small formatting & comment tweaks
1 parent be2acf9 commit fe4a342

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

syntaxhighlighter.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,10 +318,12 @@ function output_shortcodes_for_tinymce() {
318318
echo "</script>\n";
319319
}
320320

321-
// A filter function that exempts shortcodes from wptexturize()
321+
// Adds this plugin's shortcodes to the list of shortcodes that wptexturize() shouldn't modify
322322
function no_texturize_shortcodes( $exempted_shortcodes = array() ) {
323-
foreach ( $this->shortcodes as $shortcode )
323+
foreach ( $this->shortcodes as $shortcode ) {
324324
$exempted_shortcodes[] = $shortcode;
325+
}
326+
325327
return $exempted_shortcodes;
326328
}
327329

0 commit comments

Comments
 (0)