Skip to content

Commit

Permalink
change html output to follow the same as the original PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
manuel-rubio committed Jun 12, 2017
1 parent ea58603 commit d7a081f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ephp_error.erl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ get_message(Modules, text, Type, Line, File, Level, Args) ->
get_message(Modules, html, Type, Line, File, Level, Args) ->
Message = get_message(Modules, Type, Level, Args),
io_lib:format(
"<br/>~n<strong>~s</strong>: ~s in ~s on line ~p<br/>~n",
"<br/>~n<b>~s</b>: ~s in <b>~s</b> on line <b>~p</b><br/>~n",
[get_level(Level), Message, File, Line]).

-spec get_message([module()], error_type(), pos_integer(), term()) -> string().
Expand Down

0 comments on commit d7a081f

Please sign in to comment.