title: If statements not working correctly on Laravel Blade
body: <p>All project works good one day ago, I cannot change any system file or something like that. But now blade if statements not working.</p>
  
  <p>My blade code is</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
  @if($success == "True")
              &lt;script&gt;
                  window.parent.successPayment();
              &lt;/script&gt;
  @else
  
              &lt;script&gt;
                  window.parent.failedPayment("{{$message}}");
              &lt;/script&gt;
  
  @endif
  </code></pre>
  
  <p>
  </p>
  
  <p>After rendering</p>
  
  <pre><code>&lt;html&gt;
  &lt;body&gt;
          @if ($success == "True")
              &lt;script&gt;
                  window.parent.successPayment();
              &lt;/script&gt;
          &lt;?php else: ?&gt;
  
              &lt;script&gt;
                  window.parent.failedPayment("&lt;?php echo e($message); ?&gt;");
              &lt;/script&gt;
  
         &lt;?php endif; ?&gt;
  
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>If statement not rendering. I cannot solve this problem. Anyone know how can I fix this?</p>
  
  <p>Parse error: syntax error, unexpected 'endif' (T_ENDIF), expecting end of file (View: /var/www/vhosts/mysite.site/mysite.site/resources/views/dashboard/test.blade.php)</p>