Changeset 14498
- Timestamp:
- 07/30/2025 03:59:06 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/api.wordpress.org/public_html/dotorg/trac/pr/functions.php
r14394 r14498 387 387 // Convert Code blocks. 388 388 $desc = preg_replace_callback( 389 '#^(?P<indent>[ >]*)``` (?P<format>[a-z]+$)(?P<code>.+?)```$#sm',389 '#^(?P<indent>[ >]*)```[ ]*(?P<format>[a-z]+$)(?P<code>.+?)```$#sm', 390 390 function( $m ) { 391 391 $format = trim( $m['format'] ); … … 401 401 * See https://trac.edgewall.org/wiki/1.1/WikiProcessors#AvailableProcessors 402 402 */ 403 $supported_formats = [ 'xml', 'php', 'js', 'javascript', ' sql', 'sh', 'diff' ];403 $supported_formats = [ 'xml', 'php', 'js', 'javascript', 'css', 'sql', 'sh', 'diff' ]; 404 404 if ( ! in_array( $format, $supported_formats ) ) { 405 405 $format = 'default';
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)