We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fef1c6a commit 4204111Copy full SHA for 4204111
rails_panel/assets/javascripts/filters.js
@@ -48,4 +48,9 @@ angular.module('RailsPanel', [])
48
return function(input) {
49
return ansi2html(input);
50
}
51
+ })
52
+ .filter('toString', function() {
53
+ return function(input) {
54
+ return input || "";
55
+ }
56
});
rails_panel/panel.html
@@ -232,7 +232,7 @@
232
<tbody>
233
<tr ng-repeat="log in activeLog()">
234
<td><a href="{{log.payload.filename | editorify:log.payload.line}}">{{log.payload.filename | normalizePath}}:{{log.payload.line}}</a></td>
235
- <td ng-bind-html-unsafe="log.payload.message | sanitize | ansi2html"></td>
+ <td ng-bind-html-unsafe="log.payload.message | toString | sanitize | ansi2html"></td>
236
</tr>
237
</tbody>
238
</table>
0 commit comments