Skip to content

Commit

Permalink
fix(virtual): fix escaped HTML in virtual slides content
Browse files Browse the repository at this point in the history
fixes #6404
  • Loading branch information
nolimits4web committed Feb 17, 2023
1 parent 898f76c commit a61638a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/virtual/virtual.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function Virtual({ swiper, extendParams, on, emit }) {
}
slideEl.setAttribute('data-swiper-slide-index', index);
if (!params.renderSlide) {
slideEl.textContent = slide;
slideEl.innerHTML = slide;
}

if (params.cache) swiper.virtual.cache[index] = slideEl;
Expand Down

0 comments on commit a61638a

Please sign in to comment.