Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only look for coment and cdata wrappers #1690

Merged
merged 1 commit into from
Jul 17, 2019

Conversation

bitwiseman
Copy link
Member

@bitwiseman bitwiseman commented Jul 17, 2019

Style and script elements can have their contents wrapped in cdata or an html comment.
Do not treat other text, such as php tag as though it were one of the wrappers.

Fixes #1687

Style and script elements can have their contents wrapped in cdata or an html comment.
Do not treat other text, such as php tag as though it were one of the wrappers.
@bitwiseman bitwiseman merged commit 02b7e1a into beautifier:master Jul 17, 2019
@bitwiseman bitwiseman deleted the issue-1687 branch July 17, 2019 22:27
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.

javascript fails to format when <?php > is first text inside <script> tag
1 participant