Commit 8553d941 authored by Alberto Fanjul's avatar Alberto Fanjul
Browse files

Avoid parse html tags from commits

parent 94bf983f
......@@ -187,7 +187,7 @@ class Gitg.DiffViewCommitDetails : Gtk.Grid
return;
}
d_label_subject.set_markup(subject_to_markup(commit.get_subject()));
d_label_subject.set_markup(subject_to_markup(Markup.escape_text(commit.get_subject())));
d_label_sha1.label = commit.get_id().to_string();
var author = commit.get_author();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment