Changeset 9057
- Timestamp:
- 07/18/2019 09:37:34 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/functions.php
r8286 r9057 222 222 223 223 /** 224 * Fixes bug in (or at least in using) SyntaxHighlighter code shortcodes that 225 * causes double-encoding of `>` character. 226 * 227 * @param string $content The text being handled as code. 228 * @return string 229 */ 230 function fix_code_entity_encoding( $content ) { 231 return str_replace( '>', '>', $content ); 232 } 233 add_filter( 'syntaxhighlighter_htmlresult', __NAMESPACE__ . '\fix_code_entity_encoding', 20 ); 234 235 /** 224 236 * Register translations for plugins without their own GlotPress project. 225 237 */
Note: See TracChangeset
for help on using the changeset viewer.