From d48c98c4ef4c18641bdfd9279da8320a79c368f1 Mon Sep 17 00:00:00 2001 From: Adam Hornacek Date: Thu, 18 Nov 2021 08:38:58 -0500 Subject: [PATCH] Fix display of author's email address in history fixes #3766 --- opengrok-web/src/main/webapp/history.jsp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opengrok-web/src/main/webapp/history.jsp b/opengrok-web/src/main/webapp/history.jsp index bf781fe75e3..267a41dc37c 100644 --- a/opengrok-web/src/main/webapp/history.jsp +++ b/opengrok-web/src/main/webapp/history.jsp @@ -340,11 +340,11 @@ document.domReady.push(function() {domReadyHistory();}); if (author == null) { %>(no author)<% } else if (userPage != null && userPage.length() > 0) { - String alink = Util.getEmail(author); + String alink = Util.getEmail(author); %><%= Util.htmlize(author)%><% } else { - %><%= author %><% + %><%= Util.htmlize(author) %><% } %> <%