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

Safari switching slides broken if id of a slide contains cyrillic #836

Closed
certainlyakey opened this issue Mar 17, 2014 · 2 comments
Closed

Comments

@certainlyakey
Copy link

In Safari, both mobile and desktop, if you have some cyrillic symbols inside a slide's id, strange characters appear in address bar instead of proper id value and it's possible to switch only a few slides - after that the slideshow jumps to the last slide.

I noticed that because I use Pandoc to create presentations and it automatically places whatever is the heading of the slide into the id attribute of a slide section tag.

Here's a test presentation.

As a workaround, it would be great to have an option to turn off the section ids as hashes and leave only slides' numbers.

@hakimel
Copy link
Owner

hakimel commented Mar 25, 2014

I recommend setting the history config value to false in your case.

This did bring up an interesting issue though and I've made a few changes to restrict which characters reveal.js picks up for named links (a-z, 0-9 and basic punctuation). I've also patched an issue where a malformed hash in the URL would cause reveal.js to thrown syntax errors.

@hakimel hakimel closed this as completed Mar 25, 2014
@certainlyakey
Copy link
Author

OK, thank you! Turning history off solves the issue.

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

2 participants