mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-07-01 02:36:52 +00:00
Merge pull request #1165 from funilrys/readme-links-issue-windows
Fix link issue under Windows.
This commit is contained in:
@@ -45,6 +45,9 @@ def main():
|
||||
"Unified hosts **+ " + key.replace("-", " + ") + "**"
|
||||
)
|
||||
|
||||
if "\\" in data[key]["location"]:
|
||||
data[key]["location"] = data[key]["location"].replace("\\", "/")
|
||||
|
||||
toc_rows += s.substitute(data[key]) + "\n"
|
||||
|
||||
row_defaults = {
|
||||
|
||||
Reference in New Issue
Block a user