[wp-trac] [WordPress Trac] #7052: dashes are merged in a PRE and CODE tags if other tags are used inside

WordPress Trac wp-trac at lists.automattic.com
Wed May 28 13:00:09 GMT 2008


#7052: dashes are merged in a PRE and CODE tags if other tags are used inside
---------------------+------------------------------------------------------
 Reporter:  dzverbg  |       Owner:  anonymous   
     Type:  defect   |      Status:  new         
 Priority:  normal   |   Milestone:  2.7         
Component:  General  |     Version:  2.5.1       
 Severity:  normal   |    Keywords:  dash, dashes
---------------------+------------------------------------------------------
 I am trying to paste multiple dashes and I don't want they to merge in a
 long dash.

 a/ if I use pre or code tag, it is ok
 b/ if I use pre, then a, it's not ok any more.


 {{{
 <pre>mysql> select count(*) from topblogs;
 +----------+
 | count(*) |
 +----------+
 |      666 |
 +----------+
 1 row in set (0.00 sec)</pre> IS OK

 <pre><a href=mysql>mysql</a>> select count(*) from topblogs;
 +----------+
 | count(*) |
 +----------+
 |      666 |
 +----------+
 1 row in set (0.00 sec)</pre>

 is not ok, dashes are merged.
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7052>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list