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

fix: avoid using macro tag #34

Merged
merged 2 commits into from
Mar 20, 2024
Merged

fix: avoid using macro tag #34

merged 2 commits into from
Mar 20, 2024

Conversation

DylanPiercey
Copy link
Contributor

Description

Using the <macro> tag recursively while inserting arbitrary html from the micro-frame could cause comments to be inserted in between flushes from the micro-frame if the micro-frame itself was client rendered.

This PR switches the implementation to use a recursive tag instead of a macro which shouldn't have this issue.

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.70%. Comparing base (f2a3e92) to head (16653dd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #34   +/-   ##
=======================================
  Coverage   95.70%   95.70%           
=======================================
  Files           6        6           
  Lines         163      163           
  Branches       27       27           
=======================================
  Hits          156      156           
  Misses          2        2           
  Partials        5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@DylanPiercey DylanPiercey merged commit 159e273 into main Mar 20, 2024
6 checks passed
@DylanPiercey DylanPiercey deleted the avoid-macro branch March 20, 2024 18:14
Copy link

🎉 This PR is included in version 1.9.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant