WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#7052 closed defect (bug) (duplicate)

dashes are merged in a PRE and CODE tags if other tags are used inside

Reported by: dzverbg Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.5.1
Component: General Keywords: dash, dashes
Focuses: Cc:

Description

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.

Change History (1)

comment:1 @Viper007Bond7 years ago

  • Milestone 2.7 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Newer ticket has more details + patch: #7056

Note: See TracTickets for help on using tickets.