jeudi 8 mars 2018

laravel is commenting out my view doctype

For reasons I don't understand, Laravel seems to be commenting out the doctype tag at the top of my view file:

<!--?php<!DOCTYPE html-->
<html lang="en">

This is causing the browser to incorrectly render the page.

The view file looks like so:

<!DOCTYPE html>
<html lang="">

There is no whitespace above the doctype.

I have confirmed the problem in Safari and Chrome.

Anyone have any ideas?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2Fsf7vJ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire