-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
For better or for worse, default blade syntax for HTML in L5 is now {!! $var !!}
.
Local workaround:
- views/index.blade.php - change
{{ $child }}
to{!! $child !!}
- Modules/Debug/default.blade.php - change
{{ $debug }}
to{!! $debug !!}
- Modules/History/default.blade.php - change
{{ $history->links() }}
to{!! $history->links() !!}
- Modules/Info/default.blade.php - change
{{ $info }}
to{!! $info !!}
- Modules/Dashboard/default.blade.php - change
{{ $widget->view }}
to{!! $widget->view !!}
Alternatively, you theoretically should be able to bind the old escaped echo delimiters to Blade using \Blade::setEscapedContentTags('{{', '}}')
, but I'm having trouble getting that to work (tried it at the end of the BaseController constructor).
Great work! Can't wait to see this evolve over time!
Metadata
Metadata
Assignees
Labels
No labels