[wp-meta] [Making WordPress.org] #333: Trac: Source View Line Wrapping

Making WordPress.org noreply at wordpress.org
Mon Feb 10 03:40:57 UTC 2014


#333: Trac: Source View Line Wrapping
-------------------+------------------
Reporter:  netweb  |      Owner:
    Type:  defect  |     Status:  new
Priority:  normal  |  Component:  Trac
Keywords:          |
-------------------+------------------
 When viewing a repo's source line wrapping ain't quite right.

 eg.
 https://bbpress.trac.wordpress.org/browser/trunk/templates/default/bbpress
 /form-topic-merge.php#L40

 The full line of code per the above is:
 {{{
 40 <?php if ( bbp_has_topics( array( 'show_stickies' => false,
 'post_parent' => bbp_get_topic_forum_id( bbp_get_topic_id() ),
 'post__not_in' => array( bbp_get_topic_id() ) ) ) ) : ?>
 }}}

 It is displayed across three lines as:
 {{{
    <?
 php if ( bbp_has_topics( array( 'show_stickies' => false, 'post_parent' =>
 bbp_get_topic_forum_id( bbp_get_topic_id() ), 'post
 >
 }}}
 If you remove `overflow: hidden`
 ([https://bbpress.trac.wordpress.org/chrome/common/css/code.css
 bbpress.trac.wordpress.org/chrome/common/css/code.css#Line 69]) you can
 see the remaining code 'off screen'

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/333>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list