[livejournal] r20317: LJSUP-10143 (make die messages display m...
Committer: ailyin
LJSUP-10143 (make die messages display more clearly in browser)U trunk/cgi-bin/lj-bml-init.pl
Modified: trunk/cgi-bin/lj-bml-init.pl
===================================================================
--- trunk/cgi-bin/lj-bml-init.pl 2011-10-14 08:10:08 UTC (rev 20316)
+++ trunk/cgi-bin/lj-bml-init.pl 2011-10-14 08:12:08 UTC (rev 20317)
@@ -38,7 +38,7 @@
my $remote = LJ::get_remote();
if (($remote && $remote->show_raw_errors) || $LJ::IS_DEV_SERVER) {
- return "<b>[Error: $msg]</b>";
+ return "<pre>" . LJ::ehtml("[Error: $msg]") . "</pre>";
} else {
return $LJ::MSG_ERROR || "Sorry, there was a problem.";
}
