diff --git a/war/src/main/webapp/scripts/hudson-behavior.js b/war/src/main/webapp/scripts/hudson-behavior.js index d0e2645846..04270d61a5 100644 --- a/war/src/main/webapp/scripts/hudson-behavior.js +++ b/war/src/main/webapp/scripts/hudson-behavior.js @@ -495,7 +495,7 @@ function registerRegexpValidator(e,regexp,message) { e.onchange = function() { var set = oldOnchange != null ? oldOnchange.call(this) : false; if (this.value.match(regexp)) { - if (!set) this.targetElement.innerHTML = ""; + if (!set) this.targetElement.innerHTML = "
"; } else { this.targetElement.innerHTML = "
" + message + "
"; set = true;