diff --git a/src/rocm_docs/core.py b/src/rocm_docs/core.py index fa63bc84..988eefc5 100644 --- a/src/rocm_docs/core.py +++ b/src/rocm_docs/core.py @@ -259,7 +259,7 @@ def is_visible(element): return False if isinstance(element, bs4.element.Comment): return False - return not element.string == "\n" + return element.string != "\n" words_per_minute = 200 average_word_length = 5