From 0956ec6c38d50a30cdbf91ad9ea7cb19326c5427 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Fri, 26 Apr 2024 16:22:44 +1000 Subject: [PATCH] Fix spelling and remove unneeded trailing whitespace (#1417) --- fixtures/bench/arch.html | 84 ++++++++++++------------ fixtures/fragments/file1.md | 2 +- lychee-lib/src/extract/html/html5ever.rs | 2 +- lychee-lib/src/extract/html/html5gum.rs | 2 +- lychee-lib/src/extract/html/mod.rs | 2 +- 5 files changed, 46 insertions(+), 46 deletions(-) diff --git a/fixtures/bench/arch.html b/fixtures/bench/arch.html index a4b5310..dc6736c 100644 --- a/fixtures/bench/arch.html +++ b/fixtures/bench/arch.html @@ -72,28 +72,28 @@ - + Search - + - + @@ -129,48 +129,48 @@

Navigation menu

- +
- - - - @@ -179,18 +179,18 @@
- -
- @@ -235,9 +235,9 @@ collapsed
- +
    - +
    @@ -259,7 +259,7 @@
    From ArchWiki
    - +

    This article is a general list of applications sorted by category, as a reference for those looking for packages. Many sections are split between console and graphical applications.

    -
    Tip: +
    Tip:
    • This page exists primarily to make it easier to search for alternatives to an application that you do not know under which section has been added. Use the links in the template at the top to view the main sections as separate pages.
    • Please consider installing the pkgstats package, which provides a timer that sends a list of the packages installed on your system, along with the architecture and the mirrors you use, to the Arch Linux developers in order to help them prioritize their efforts and make the distribution even better. The information is sent anonymously and cannot be used to identify you. You can view the collected data at the Statistics page. More information is available in this forum thread.
    • Daemon packages usually include the relevant systemd unit file to start; some packages even include different ones. After installation pacman -Qql package | grep -Fe .service -e .socket can be used to check and find the relevant one.
    @@ -1234,7 +1234,7 @@
    • wyeb — A vim-like web browser inspired by dwb and luakit with Adblock.
    https://github.com/jun7/wyeb || wyeb-gitAUR
    Browsers based on qt5-webkit
    -
    • OSPKit — Webkit based html browser for printing.
    +
    • OSPKit — Webkit based HTML browser for printing.
    http://osp.kitchen/tools/ospkit/ || ospkit-gitAUR
    • Otter Browser — Browser aiming to recreate classic Opera (12.x) UI using Qt5.
    https://otter-browser.org/ || otter-browser
    @@ -1436,7 +1436,7 @@ The major web servers can be interfaced with programs to serve dynamic content (
    • Seafile — An online file storage and collaboration tool with advanced support for file syncing, privacy protection and teamwork.
    https://www.seafile.com/ || seafile-serverAUR

    Cloud synchronization clients

    -
    Tip: +
    Tip: @@ -7029,7 +7029,7 @@ The major web servers can be interfaced with programs to serve dynamic content (
  • Arch Linux Forums / LnF Awards 2012 - The best Light & Fast apps of 2012
  • Arch Linux Forums / most popular apps of 2013-2014
  • Arch Linux Forums / most popular apps of 2017+ (requires login)
  • - - \ No newline at end of file + diff --git a/fixtures/fragments/file1.md b/fixtures/fragments/file1.md index 9b90727..7f63b15 100644 --- a/fixtures/fragments/file1.md +++ b/fixtures/fragments/file1.md @@ -28,7 +28,7 @@ Therefore we put the test into a code block for now to prevent false positives. [Link to explicit fragment](#explicit-fragment) -[To the html doc](file.html#a-word) +[To the HTML doc](file.html#a-word) ## Custom Fragments diff --git a/lychee-lib/src/extract/html/html5ever.rs b/lychee-lib/src/extract/html/html5ever.rs index bceed2c..b9f6373 100644 --- a/lychee-lib/src/extract/html/html5ever.rs +++ b/lychee-lib/src/extract/html/html5ever.rs @@ -124,7 +124,7 @@ impl LinkExtractor { } } - /// Extract all semantically known links from a given html attribute. + /// Extract all semantically known links from a given HTML attribute. #[allow(clippy::unnested_or_patterns)] pub(crate) fn extract_urls_from_elem_attr<'a>( attr_name: &str, diff --git a/lychee-lib/src/extract/html/html5gum.rs b/lychee-lib/src/extract/html/html5gum.rs index 9555bee..ee61e64 100644 --- a/lychee-lib/src/extract/html/html5gum.rs +++ b/lychee-lib/src/extract/html/html5gum.rs @@ -45,7 +45,7 @@ impl LinkExtractor { } } - /// Extract all semantically known links from a given html attribute. + /// Extract all semantically known links from a given HTML attribute. #[allow(clippy::unnested_or_patterns)] pub(crate) fn extract_urls_from_elem_attr<'a>( attr_name: &str, diff --git a/lychee-lib/src/extract/html/mod.rs b/lychee-lib/src/extract/html/mod.rs index ef02c06..b990acf 100644 --- a/lychee-lib/src/extract/html/mod.rs +++ b/lychee-lib/src/extract/html/mod.rs @@ -1,4 +1,4 @@ -//! Extract links and fragments from html documents +//! Extract links and fragments from HTML documents pub(crate) mod html5ever; pub(crate) mod html5gum; mod srcset;