luoyan35714 / LessOrMore

Jekyll theme.
http://www.hifreud.com/LessOrMore/
MIT License
181 stars 213 forks source link

scrollspy issue #21

Closed eMous closed 2 years ago

eMous commented 5 years ago

scrollspy method in Bootstrap v3.0.3 has a bug that It doesn't match targets with Chinese id attribute.

And this Bootstrap version works well.

luoyan35714 commented 5 years ago

Hey, man. You are absolutely right! I will fix this issue later and let you know the status. Besides, another way to avoid the chinese id attribute is using the title as like this:

诫子书             {#zhugeliang}
------------------------
zhangshun97 commented 5 years ago

scrollspy method in Bootstrap v3.0.3 has a bug that It doesn't match targets with Chinese id attribute.

And this Bootstrap version works well.

image This works not so well on my mac... If the second to last title is Chinese, then the problem still occurs.

zhangshun97 commented 5 years ago

@eMous @luoyan35714 Any ideas? :)

eMous commented 5 years ago

@eMous @luoyan35714 Any ideas? :)

Sorry I am not quite familiar with Font-end Web, you may find an solution in StackOverflow. :C