diff --git a/index.html b/index.html index 3ba33bc79a..56f6fb4f1d 100644 --- a/index.html +++ b/index.html @@ -431,7 +431,8 @@ THE SOFTWARE. var renderError = function(message) { var type = errortype(message); - var $error = $('
' + message + '
x
'); + var $pre = $("
").text(message);
+			var $error = $('
x
').prepend($pre); $('#output').append( $error ); var err = message.match(/^:([0-9]*):([0-9]*)/); if (err && err.length) { diff --git a/stylesheets/browser-solidity.css b/stylesheets/browser-solidity.css index 0d1b871f8b..4c19c826c2 100644 --- a/stylesheets/browser-solidity.css +++ b/stylesheets/browser-solidity.css @@ -208,6 +208,7 @@ body { background-color: transparent; margin: 0; font-size: 10px; + border: 0 none; } .sol.error .close,