Defect #26708
closed
Diff formatting results empty lines if they contains HTML tags
Added by Robert Korulczyk over 7 years ago.
Updated about 6 years ago.
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:¶
Files
Live example:
--- a/test.php
+++ b/test.php
@@ -329,7 +329,7 @@
-echo '<div></div>';
+echo '<div id="test"></div>';
Fixed by the migration to Rouge (#24681).
using CodeRay:
after migration to Rouge:
- Related to Feature #24681: Syntax highlighter: replace CodeRay with Rouge added
Also available in: Atom
PDF