Merge "Do not embed unsafe content"

This commit is contained in:
Jenkins
2016-09-14 04:26:31 +00:00
committed by Gerrit Code Review

View File

@@ -131,9 +131,9 @@
}
if (url) {
element.append(angular.element('<a>').attr('href', url).append(output));
element.append(angular.element('<a>').attr('href', url).text(output));
} else {
element.append(output);
element.text(output);
}
}
}