Project

General

Profile

Actions

Defect #17627

open

Syntax highlighting breaks predefined text (that is outside the <code> tags)

Added by Jānis Elmeris over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Two cases: one includes syntax highlighting ("code" tags), the other — doesn't. The syntax highlighting creates a distorted layout: extra space appears, some "deleted" content appears.

As you can see, this is in effect also in your own Redmine installation, so apparently no additional details necessary.

mysql@datas:[(none)]> select * from pavadonis.ologg_42083 order by date limit 44;
Empty set (0.00 sec)

mysql@ti> select * from data order by date;
--------------------+---------------------+ | id | id2_te | date |
--------------------+---------------------+ | 1417713 | 12115809964 | 2014-07-14 18:58:27 |
--------------------+---------------------+
1 row in set (0.00 sec)

mysql@ti> select * from data order by date;
--------------------+---------------------+ | id | id2_te | date |
--------------------+---------------------+ | 1417713 | 12115809964 | 2014-07-14 18:58:27 |
--------------------+---------------------+
1 row in set (0.00 sec)

mysql@da> select * from data order by date;
Empty set (0.00 sec)

mysql@ti> select * from data order by date;
+---------+-------------+---------------------+
| id      | id2_te      | date                |
+---------+-------------+---------------------+
| 1417713 | 12115809964 | 2014-07-14 18:58:27 |
+---------+-------------+---------------------+
1 row in set (0.00 sec)

mysql@ti> select * from data order by date;
+---------+-------------+---------------------+
| id      | id2_te      | date                |
+---------+-------------+---------------------+
| 1417713 | 12115809964 | 2014-07-14 18:58:27 |
+---------+-------------+---------------------+
1 row in set (0.00 sec)

Files

codeinpre.png (43.5 KB) codeinpre.png Jānis Elmeris, 2014-08-07 18:31

No data to display

Actions

Also available in: Atom PDF