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

Virtual Slides returning sting vs html #6404

Closed
5 of 6 tasks
webdpro opened this issue Feb 16, 2023 · 0 comments
Closed
5 of 6 tasks

Virtual Slides returning sting vs html #6404

webdpro opened this issue Feb 16, 2023 · 0 comments

Comments

@webdpro
Copy link

webdpro commented Feb 16, 2023

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/s/twilight-snow-tr1tox?file=/index.html

Bug description

I was running some test with v9 on my app, and the virtual slide that we have seem to work, however, it renders the html as a 'string' vs 'html' I took the sample virtual slide example and placed in a loop to display html and return an image but its rendering out the html code vs the actual html.

Am I missing something?

Expected Behavior

When you pass HTML to the slide, it should render the html, not a string of the html

Actual Behavior

Renders the html as a string

Swiper version

9.05

Platform/Target and Browser Versions

chrome

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
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

No branches or pull requests

1 participant