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

Custom Pager Template does not close parsed string #861

Open
StudioAl opened this issue Sep 20, 2021 · 0 comments
Open

Custom Pager Template does not close parsed string #861

StudioAl opened this issue Sep 20, 2021 · 0 comments

Comments

@StudioAl
Copy link

When defining a custom pager template, the template string is not closed out correctly. It appears to ignore the closing quote and continue to parse the code after the attribute as part of the string. This occurs even when testing with the exact template strings used in the demos, and it occurs whether data-cycle-pager-template is used in the slideshow container or on a per-slide basis.

Example (with data-cycle-slide="> .slide":

<div class="slide" data-cycle-pager-template="<a href=#>Spring</a>">
      <div class="inner">Slide Content</div>
</div>

… results in this in the console log:

[cycle2] [0] pagerTemplate: <a href=#>Spring</a>“>
      <div class= (string)
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