fix error html-escaping

pull/1/head
d11e9 9 years ago
parent d6df4e0242
commit 847add31ba
  1. 3
      index.html
  2. 1
      stylesheets/browser-solidity.css

@ -431,7 +431,8 @@ THE SOFTWARE.
var renderError = function(message) {
var type = errortype(message);
var $error = $('<div class="sol ' + type + '"><pre>' + message + '</pre><div class="close">x</div></div>');
var $pre = $("<pre />").text(message);
var $error = $('<div class="sol ' + type + '"><div class="close">x</div></div>').prepend($pre);
$('#output').append( $error );
var err = message.match(/^:([0-9]*):([0-9]*)/);
if (err && err.length) {

@ -208,6 +208,7 @@ body {
background-color: transparent;
margin: 0;
font-size: 10px;
border: 0 none;
}
.sol.error .close,

Loading…
Cancel
Save