mirror of
https://github.com/StevenBlack/hosts.git
synced 2024-06-28 16:45:46 +02:00
Merge pull request #1165 from funilrys/readme-links-issue-windows
Fix link issue under Windows.
This commit is contained in:
commit
b539172b6e
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user