Skip to content

Conversation

@markjaquith
Copy link
Contributor

This changes the morph markers that Alpine recognizes to match the ones in this Livewire PR: livewire/livewire#6974

<!--[if BLOCK]><![endif]-->
<!--[if ENDBLOCK]><![endif]-->

Read that PR for more details, but basically the issue is that some proxies strip HTML comments, which means that the morph markers that a backend like Livewire renders might get stripped by things like Cloudflare (with HTML minification on). The Internet Explorer conditional syntax above will be ignored by Cloudflare (and likely other HTML-minification pipelines) because historically it was used to enable or disable functionality on certain browsers.

@calebporzio
Copy link
Collaborator

Great! Thank you Mark!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants