You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the Laravel documentation a @section() tag can have an "inline" value like this:
@section('title', 'Page Title')
In this case it doesn't have a @endsection tag.
Expected Behavior
The expected behavior is that it can format a document like this, which is taken directly from the Laravel documentation:
<!-- resources/views/child.blade.php -->
@extends('layouts.app')
@section('title', 'Page Title')
@section('sidebar')
@parent
<p>This is appended to the master sidebar.</p>
@endsection
@section('content')
<p>This is my body content.</p>
@endsection
Actual Behavior
In actuallity the above gives the error SyntaxError: Unpaired condition control structure
Additional Context
version: 3.2.5
The text was updated successfully, but these errors were encountered:
Description
According to the Laravel documentation a
@section()
tag can have an "inline" value like this:In this case it doesn't have a
@endsection
tag.Expected Behavior
The expected behavior is that it can format a document like this, which is taken directly from the Laravel documentation:
Actual Behavior
In actuallity the above gives the error
SyntaxError: Unpaired condition control structure
Additional Context
version: 3.2.5
The text was updated successfully, but these errors were encountered: