Syntax highlighter botches [Array] syntax
Migrated issue
Reported by: Garrett Albright
See this bit in Drupal 8's _drupal_add_html_head() in common.inc:
<?php
case 'feed':
$args = [[
'href' => $args[0],
'rel' => 'alternate',
'title' => $args[1],
'type' => 'application/rss+xml',
]];
call_user_func_array('_drupal_add_html_head_link', $args);
break;
?>
Now check out how it appears on api.drupal.org:
<?php
case 'feed':
$args =[['href' $args[0] 'rel' 'alternate' 'title' $args[1] 'type' 'application/rss+xml']];
call_user_func_array('_drupal_add_html_head_link', $args);
break;
?>
Oops.