src/Lsp.vala
authorAlan Knowles <alan@roojs.com>
Sun, 17 Mar 2024 03:35:53 +0000 (11:35 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 17 Mar 2024 03:35:53 +0000 (11:35 +0800)
src/Lsp.vala

index cba5c45..714a700 100644 (file)
@@ -441,7 +441,7 @@ namespace Lsp {
                public string tooltip {
                        owned get {
                                var detail = this.detail == "" ? (this.kind.to_string() + ": " + this.name) : this.detail;
-                                return detail + "\nline: " + this.range.start.line.to_string();
+                                return GLib.markup_escape_text(detail + "\nline: " + this.range.start.line.to_string());
                                
                        }
                }