Skip to content

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Jul 24, 2021

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #42248
License MIT
Doc PR

Since the css/js is "fake minified" (we just remove the new line character) we cannot use //. See comment in the head of base_js.html.twig:

  {# Caution: the contents of this file are processed by Twig before loading
   them as JavaScript source code. Always use '/*' comments instead
   of '//' comments to avoid impossible-to-debug side-effects #}

I also added a small test to enforce this.

@fabpot
Copy link
Member

fabpot commented Jul 24, 2021

Thank you @Nyholm.

@fabpot fabpot merged commit f5bc4a1 into symfony:5.4 Jul 24, 2021
@Nyholm
Copy link
Member Author

Nyholm commented Jul 24, 2021

Thank you for merging

@Nyholm Nyholm deleted the issue-42248 branch July 24, 2021 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Web Profiler code not beeing injected properly
3 participants