// 0.12: also fix "Resolved with changeset" comments
// 0.11: fix regexp for later changesets attached.
// 0.10: #Bugnumber to links, highlight comments for customors in checkins
// 0.12: also fix "Resolved with changeset" comments
// 0.11: fix regexp for later changesets attached.
// 0.10: #Bugnumber to links, highlight comments for customors in checkins
let fixCommentContents = (items) => {
if (items === null || items === undefined || items.length === 0) {
return;
let fixCommentContents = (items) => {
if (items === null || items === undefined || items.length === 0) {
return;
html = html.replace(/((Associated|Resolved) with changeset )(\d*)([:.])/,
"<b>$1<a href='/HeBa/Entwicklung/_versionControl/changeset/$3'>$3</a></b>$4<br />");
html = html.replace(/#(\d+)/g, "<a href='/HeBa/Entwicklung/_versionControl/changeset/$1'>#$1</a>");
html = html.replace(/((Associated|Resolved) with changeset )(\d*)([:.])/,
"<b>$1<a href='/HeBa/Entwicklung/_versionControl/changeset/$3'>$3</a></b>$4<br />");
html = html.replace(/#(\d+)/g, "<a href='/HeBa/Entwicklung/_versionControl/changeset/$1'>#$1</a>");