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: compilers #882

Merged
merged 2 commits into from
May 23, 2024
Merged

fix: compilers #882

merged 2 commits into from
May 23, 2024

Conversation

jennspencer
Copy link
Contributor

PR App Fix RM-9795 RM-9792

🧰 Changes

needed to adjust the output for the image & embed & html block compilers

🧬 QA & Testing

if (complexEmbed) return `<Embed ${{...node.data?.hProperties}} />`;

if (complexEmbed) {
const attributes = Object.keys(node.data?.hProperties).map(key => `${key}="${node.data?.hProperties[key]}"`).join(' ')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could probably utility-ize this, i'll add a TODO 😂

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this interpolation go crazy

@jennspencer jennspencer requested a review from trishaprile May 23, 2024 17:51
Copy link
Member

@trishaprile trishaprile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk how to test this but seems reasonable to me!

@jennspencer jennspencer merged commit 6caaafd into beta May 23, 2024
9 of 11 checks passed
@jennspencer jennspencer deleted the fix/compiler-output branch May 23, 2024 18:08
rafegoldberg pushed a commit that referenced this pull request May 23, 2024
## Version 6.75.0-beta.37

### 🛠 Fixes & Updates

* compilers ([#882](#882)) ([6caaafd](6caaafd))

<!--SKIP CI-->
@rafegoldberg
Copy link
Contributor

This PR was released!

🚀 Changes included in v6.75.0-beta.37

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.

3 participants