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

Do not strip knockout comments from .html files #118

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

convenient
Copy link
Contributor

@convenient convenient commented Feb 8, 2024

This would have been introduced as part of v1.18.1...v1.19.0

ChatGPT may have assisted with the regex in src/Ampersand/PatchHelper/Patchfile/Sanitiser.php

For #117

Checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • Tests have been ran / updated

This would have been introduced as part of AmpersandHQ/ampersand-magento2-upgrade-patch-helper@v1.18.1...v1.19.0

ChatGPT may have assisted with the regex
@convenient
Copy link
Contributor Author

@hostep can you give this a tweak and see if it fixes it for you?

@hostep
Copy link
Contributor

hostep commented Feb 9, 2024

@convenient: excellent, works perfectly fine like this!

(maybe the comment on top of that regex will need to be tweaked to mention it doesn't apply to ko lines)

@convenient
Copy link
Contributor Author

@tr33m4n would you be so kind as to merge and tag?

@tr33m4n tr33m4n merged commit 544fff0 into AmpersandHQ:master Feb 9, 2024
1 check passed
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.

Changes in knockout templates using html comments are incorrectly marked as ignored
3 participants