Defect #26708

Diff formatting results empty lines if they contains HTML tags

Added by Robert Korulczyk 5 months ago. Updated 5 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Text formatting
Target version:-
Resolution: Affected version:3.3.4

Description

Steps to reproduce:

In issue description write something like (need to remove space in < /pre>):

<pre><code class="diff">
--- a/test.php
+++ b/test.php
@@ -329,7 +329,7 @@

-echo '<div></div>';
+echo '<div id="test"></div>';

</code>< /pre>

Expected result:

Proper diff.

What I get:

058577fc.png (3.25 KB) Robert Korulczyk, 2017-08-16 22:44

History

#1 Updated by Robert Korulczyk 5 months ago

Live example:

--- a/test.php
+++ b/test.php
@@ -329,7 +329,7 @@

-
+

Also available in: Atom PDF