[wp-meta] [Making WordPress.org] #1837: Code blocks are reduced to one line
Making WordPress.org
noreply at wordpress.org
Tue Jul 12 21:03:04 UTC 2016
#1837: Code blocks are reduced to one line
------------------------------+-----------------
Reporter: stephenharris | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Keywords:
------------------------------+-----------------
Currently code blocks from the plugin's read me display nicely (see
[https://wordpress.org/plugins/event-organiser/faq/] - "I cannot navigate
between months on the widget calendar" section).
On the beta plugin directory, however, all the code in the code block is
on one line: [https://wordpress.org/plugins-wp/event-organiser/]
The code block in question is rendered as follows:
{{{
register_sidebar(array(
'name' => __( 'Side bar name' ),
'id' => 'sidebar-id',
'description' => __( 'Widget area description' ),
'before_title' => '<h1>',
'after_title' => '</h1>',
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => '</div>',
));
}}}
that is, indented by four spaces and preceded and followed by an empty
line.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1837>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list