summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-03-16 19:13:46 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-03-16 19:13:46 (GMT)
commit07312b057958bfbdc60b7b43ccca84c396187cb9 (patch)
treeab0308a36e47f864ae076e649a4c4fe055227b67
parenta819ce2256e7142e15f87f9f62f56f24688e33fc (diff)
Fixed the markup rendering in the Goto dialog box.
-rw-r--r--src/glibext/linesegment.c2
1 files changed, 1 insertions, 1 deletions
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);