diff --git a/arxiv_latex_cleaner/arxiv_latex_cleaner.py b/arxiv_latex_cleaner/arxiv_latex_cleaner.py
index 2b83c54..296e698 100644
--- a/arxiv_latex_cleaner/arxiv_latex_cleaner.py
+++ b/arxiv_latex_cleaner/arxiv_latex_cleaner.py
@@ -212,8 +212,10 @@ def _remove_iffalse_block(text):
 
 def _remove_comments_inline(text):
   """Removes the comments from the string 'text' and ignores % inside \\url{}."""
-  if 'auto-ignore' in text:
-    return text
+  auto_ignore_pattern = r'(%\s*auto-ignore).*'
+  if regex.search(auto_ignore_pattern, text):
+    return regex.sub(auto_ignore_pattern, r'\1', text)
+
   if text.lstrip(' ').lstrip('\t').startswith('%'):
     return ''
 

diff --git a/arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py b/arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py
index 8540e75..34e9488 100644
--- a/arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py
+++ b/arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py
@@ -278,6 +278,16 @@ class UnitTests(parameterized.TestCase):
           'line_in': '%auto-ignore\n',
           'true_output': '%auto-ignore\n',
       },
+      {
+          'testcase_name': 'auto_ignore_middle',
+          'line_in': 'Foo % auto-ignore Comment\n',
+          'true_output': 'Foo % auto-ignore\n',
+      },
+      {
+          'testcase_name': 'auto_ignore_text_with_comment',
+          'line_in': 'Foo auto-ignore % Comment\n',
+          'true_output': 'Foo auto-ignore %\n',
+      },
       {
           'testcase_name': 'percent',
           'line_in': r'100\% accurate\n',

[Unexpected Behavior] Comments Not Removed on Lines with "auto-ignore"
While fixing issue #91, I discovered that comments in lines containing the word `auto-ignore` are not being removed as expected. This behavior is not documented in either the README or the help message, which may lead to unexpected outcomes for users. 
I suppose there is a specific reason for this behavior as it is also being tested 🤔

## Example
### Input:
```latex
Foo auto-ignore Bar ... % Top Secret Comment
```
### Output:
```latex
Foo auto-ignore Bar ... % Top Secret Comment
```
### Expected Output:
```latex
Foo auto-ignore Bar ... %
```
arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_comments_inline_auto_ignore_middle arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_comments_inline_auto_ignore_text_with_comment
arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_find_and_replace_patterns_replace_contents arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_keep_pattern_all_pass arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_keep_pattern_not_all_pass arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_merge_args_into_config_args arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_merge_args_into_config_empty arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_command_no_end_line_removed arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_command_no_end_line_removed_keep_text arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_command_not_removed arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_command_not_removed_keep_text arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_command_with_end_line_removed arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_command_with_end_line_removed_keep_text arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_command_with_optional_arguments_end arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_command_with_optional_arguments_end_keep_text arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_command_with_optional_arguments_start arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_command_with_optional_arguments_start_keep_text arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_deeply_nested_command_keep_text arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_nested_command_keep_text arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_no_command arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_command_no_command_keep_text arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_comments_inline_auto_ignore arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_comments_inline_comment arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_comments_inline_comment_inline arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_comments_inline_comment_with_url arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_comments_inline_no_comment arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_comments_inline_percent arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_comments_inline_url_with_percent arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_environment_environment_not_removed arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_environment_environment_removed arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_environment_no_environment arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_iffalse_block_commands_not_removed arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_iffalse_block_if_not_removed arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_iffalse_block_if_removed_backslash arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_iffalse_block_if_removed_eof arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_iffalse_block_if_removed_space arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_iffalse_block_if_removed_with_nested_iffalse arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_iffalse_block_if_removed_with_nested_ifvar arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_iffalse_block_no_iffalse arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_pattern_all_pass arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_remove_pattern_not_all_pass arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_replace_includesvg_includesvg_match arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_replace_includesvg_includesvg_match_with_options arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_replace_includesvg_includesvg_no_match arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_replace_includesvg_no_includesvg arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_replace_tikzpictures_no_tikz arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_replace_tikzpictures_tikz_match arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_replace_tikzpictures_tikz_no_match arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_filewise_one_parent arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_filewise_three_parent arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_filewise_two_parent arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_filewise_two_parent_strict arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_diffext arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_diffext2 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_nested_diffpath arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_nested_less_specific arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_nested_more_specific arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_nested_substring arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_path_starting_with_dot arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_prefix1 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_prefix2 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_strict_diffext arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_strict_nested_diffpath arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_strict_nested_less_specific arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_strict_nested_more_specific arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_strict_nested_substring1 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_strict_nested_substring2 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_strict_prefix1 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_strong_strict_prefix2 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_diffext arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_diffext2 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_nested_diffpath arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_nested_less_specific arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_nested_more_specific arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_nested_substring arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_path_starting_with_dot arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_prefix1 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_prefix2 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_strict_diffext arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_strict_nested_diffpath arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_strict_nested_less_specific arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_strict_nested_more_specific arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_strict_nested_substring1 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_strict_nested_substring2 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_strict_prefix1 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::UnitTests::test_search_reference_weak_strict_prefix2 arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::IntegrationTests::test_complete_from_dir arxiv_latex_cleaner/tests/arxiv_latex_cleaner_test.py::IntegrationTests::test_complete_from_zip