summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-03-02 17:12:28 -0500
committerAdam T. Carpenter <atc@53hor.net>2021-03-02 17:12:28 -0500
commit2a2790b4ff0514ef7c42783384a5ff0995db624f (patch)
treef826282f40133d67d28b3563926714292d536f79 /src
parentb85b7a6ff2d329708ea8b173815020b00381c2c4 (diff)
downloadtitler-2a2790b4ff0514ef7c42783384a5ff0995db624f.tar.xz
titler-2a2790b4ff0514ef7c42783384a5ff0995db624f.zip
updated exceptions
Diffstat (limited to 'src')
-rw-r--r--src/main.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index 6abf97c..2b670e6 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -5,9 +5,10 @@ use std::io::BufReader;
/// Words that will not be capitalized unless they are at the start or end of a title.
const EXCEPTIONS: &[&str] = &[
"vs", "above", "across", "against", "at", "between", "by", "along", "among", "down", "in",
- "around", "of", "off", "on", "to", "with", "before", "behind", "below", "beneath", "down",
- "from", "near", "toward", "upon", "within", "a", "an", "the", "and", "but", "for", "or", "nor",
- "yet", "so",
+ "once", "around", "of", "off", "on", "to", "with", "before", "behind", "below", "beneath",
+ "down", "from", "near", "toward", "upon", "within", "a", "an", "the", "and", "but", "for",
+ "or", "nor", "so", "till", "when", "yet", "that", "than", "in", "into", "like", "onto", "over",
+ "past", "as", "if",
];
/// Here are the rules: