From d385b7ca5de434cdf682c4b77e4bdd21e961ee40 Mon Sep 17 00:00:00 2001 From: Terence Eden Date: Wed, 2 Oct 2024 10:42:08 +0100 Subject: [PATCH] Remove trailing newlines from reference URls --- CHECK.html | 8 ++------ REFERENCE.md | 2 -- images/reference/datacamp.url | 2 +- update_readme.py | 2 +- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/CHECK.html b/CHECK.html index d4a0b5fb..4e660cf7 100644 --- a/CHECK.html +++ b/CHECK.html @@ -84,9 +84,7 @@ Crystalhttps://crystal-lang.org/media/ CSS3 Darthttps://dart.dev/brand -DataCamphttps://www.datacamp.com/ - +DataCamphttps://www.datacamp.com/ Debianhttps://www.debian.org/logos/ Deezerhttps://deezerbrand.com/ Delicioushttps://del.icio.us/static/img/logo_delicious_sprite.png @@ -330,9 +328,7 @@ Symantechttps://www.symantec.com/about/newsroom/digital-asset-gallery/logos Symfonyhttps://symfony.com/logo taiga.io -Teamspeakhttps://www.teamspeak.com/en/ - +Teamspeakhttps://www.teamspeak.com/en/ Telegramhttps://telegram.org/tour/screenshots Terraformhttps://www.terraform.io/logos.html This American Lifehttps://www.npr.org/about-npr/179876898/terms-of-use diff --git a/REFERENCE.md b/REFERENCE.md index 0a0d5b94..992ceca2 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -71,7 +71,6 @@ Crystal | | | Dart | | | https://dart.dev/brand DataCamp | | | https://www.datacamp.com/ - Debian | | | https://www.debian.org/logos/ Deezer | | | https://deezerbrand.com/ Delicious | | | https://del.icio.us/static/img/logo_delicious_sprite.png @@ -312,7 +311,6 @@ Symantec | | | https://symfony.com/logo taiga.io | | | Teamspeak | | | https://www.teamspeak.com/en/ - Telegram | | | https://telegram.org/tour/screenshots Terraform | | | https://www.terraform.io/logos.html This American Life | | | https://www.npr.org/about-npr/179876898/terms-of-use diff --git a/images/reference/datacamp.url b/images/reference/datacamp.url index 71c4ec41..acd9a5a6 100644 --- a/images/reference/datacamp.url +++ b/images/reference/datacamp.url @@ -1 +1 @@ -https://www.datacamp.com/ +https://www.datacamp.com/ \ No newline at end of file diff --git a/update_readme.py b/update_readme.py index d95f8f51..7540a3c5 100644 --- a/update_readme.py +++ b/update_readme.py @@ -48,7 +48,7 @@ for ref_url in ref_list: if ref_url.endswith('.url'): ref_name = ref_url.split('.')[0] if ref_name in svg_data: - svg_data[ref_name]['source'] = open(ref_dir + ref_url, "r").readline() + svg_data[ref_name]['source'] = open(ref_dir + ref_url, "r").readline().rstrip() # Set up the tables readme_table = "\n"