Skip to content

Commit 2a34f0f

Browse files
committed
Fix links with anchors
1 parent d891b55 commit 2a34f0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

preprocess.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def rlink_fix(match):
151151
target = re.sub('(\.php|\.css)\?.*', '\\1', target)
152152
target = urllib.parse.quote(target)
153153
target = xml_escape(target)
154+
target = target.replace('%23', '#');
154155
return pre + target + post
155156

156157
# clean the html files

0 commit comments

Comments
 (0)