Skip to content

Commit

Permalink
Merge pull request #3 from rodneylab/style__linting
Browse files Browse the repository at this point in the history
style: 🛁 linting
  • Loading branch information
rodneylab authored Jul 25, 2024
2 parents 134acb6 + 8de6e09 commit a5e028b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@

- **dependencies**: 💫 update crates
- 💫 update LICENSE
- accept input canonical base url parameters to allow converion of relative URLs
to absolute ones
- accept input canonical base url parameters to allow conversion of relative
URLs to absolute ones
- 💫 add target blank to non relative anchor tags

## 1.0.0 (2022-12-23)
Expand Down
2 changes: 2 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[files]
extend-exclude = ["lib/"]
2 changes: 1 addition & 1 deletion src/html_process/dom.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ impl TreeSink for RcDom {
let mut existing = if let NodeData::Element { ref attrs, .. } = target.data {
attrs.borrow_mut()
} else {
panic!("not an elemet")
panic!("not an element")
};

let existing_names = existing
Expand Down
2 changes: 1 addition & 1 deletion src/markdown/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ struct PlaintextWriter<'a, I, W> {
/// Preferred length of wrapped out lines, currently fixed at 72
line_length: usize,

/// HTML tags to ignore in ouput
/// HTML tags to ignore in output
ignore_tags: Vec<&'a str>,

/// Optionally prepended to relative URLs
Expand Down

0 comments on commit a5e028b

Please sign in to comment.