File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 11# Knowledge Base
22
33Table of contents:
4- * [ Notifications about new releases / commits] ( #notifications-about-new-releases-commits )
4+ * [ Notifications about new releases / commits] ( #notifications-about-new-releases-- commits )
55* [ Changes in API after CEF updates] ( #changes-in-api-after-cef-updates )
66* [ Differences between Python 2 and Python 3] ( #differences-between-python-2-and-python-3 )
77* [ Location of CEF framework in Mac apps] ( #location-of-cef-framework-in-mac-apps )
Original file line number Diff line number Diff line change @@ -168,11 +168,13 @@ def headinghash(title):
168168 """Get a link hash for a heading H1,H2,H3."""
169169 hash_ = title .lower ()
170170 hash_ = hash_ .replace (" - " , "specialcase1" )
171+ hash_ = hash_ .replace (" / " , "specialcase2" )
171172 hash_ = re .sub (r"[^a-z0-9_\- ]+" , r"" , hash_ )
172173 hash_ = hash_ .replace (" " , "-" )
173174 hash_ = re .sub (r"[-]+" , r"-" , hash_ )
174175 hash_ = re .sub (r"-$" , r"" , hash_ )
175176 hash_ = hash_ .replace ("specialcase1" , "---" )
177+ hash_ = hash_ .replace ("specialcase2" , "--" )
176178 return hash_
177179
178180
You can’t perform that action at this time.
0 commit comments