From 07312b057958bfbdc60b7b43ccca84c396187cb9 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Mon, 16 Mar 2020 20:13:46 +0100
Subject: Fixed the markup rendering in the Goto dialog box.

---
 src/glibext/linesegment.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/glibext/linesegment.c b/src/glibext/linesegment.c
index 0ea0873..66744b0 100644
--- a/src/glibext/linesegment.c
+++ b/src/glibext/linesegment.c
@@ -613,8 +613,8 @@ char *get_line_segment_text(const line_segment *segment, bool markup)
     result = stradd(result, ">");
 
     valid = strdup(segment->text);
-    valid = strrpl(valid, "<", "&lt;");
     valid = strrpl(valid, "&", "&amp;");
+    valid = strrpl(valid, "<", "&lt;");
 
     result = stradd(result, valid);
 
-- 
cgit v0.11.2-87-g4458