Dependency version gets mangled with embedded inline



<!-- Load the embed.js script -->
<script async src=""></script>

The rendered Iframe displays “Open full editor to add new dependencies”. After opening the snack, there seems to be a serious issue with the package.json file:


What I have tested

  • Changing the code snippet (data-snack-code) with the snippet exhibited in the docs: negative reproduction.
  • Removing the version suffix: negative reproduction.
  • As expected, adding data-snack-preview="true" and data-snack-platform="web" won’t render the preview.

I made a third test with data-snack-dependencies="react-native-render-html@5.1.0" and the reproduction was negative. It looks like the docs are outdated! This attribute should not be percent-encoded.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.