blade template formating bug
See original GitHub issue`@if($gateway )
<div class="row"> <div class="col-xs-12"> </div> </div> @endif` formating this piece of code which include blade template, removes first line " @if($gateway )"Issue Analytics
- State:
- Created 8 years ago
- Reactions:4
- Comments:16 (4 by maintainers)
Top Results From Across the Web
vscode : problem with format laravel blade inside javascript
I found that the Laravel-Blade by amirmarmul formatted blade directives in JavaScript. like this var global = { !!str_replace('"', ...
Read more >[BUG] Column format with blade template · Issue #1324 - GitHub
Hi, I can't export excel file with formula by using blade template. I use: $sheet->setColumnFormat(array( 'J11:J42' => '[hh]:mm' )); And in ...
Read more >Reformatting HTML in Blade templates not working
When I select the menu item `Code > Reformat Code` nothing happens in Laravel Blade templates. How do I get PHPStorm 8.0.1 to...
Read more >How to Format Laravel Blade Codes in Visual Studio Code ?
I have already read the article and installed some of the extensions that might solve my problem like beautify, auto close tags, laravel...
Read more >Laravel Blade formatter - Visual Studio Marketplace
vscode-blade-formatter. An opinionated Blade file formatter for VSCode. Marketplace page is here. You can also format by same syntax ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bitwiseman yes, that’s correct. In my opinion it would be a good start to be able to ignore
@
-tags completely@bitwiseman At the time I looked at creating a PR for this project, or two other similar projects (projects which format HTML)
Unfortunately most of the projects were whole lexers and token analyzers and were complicated and would have taken several hours to understand before I ever made any additions to the code.
It was just quicker to import a DOM parser and re-build the HTML tree with the desired formatting 😄 Which is what I did