diff options
author | Ershad Kunnakkadan <ershad92@gmail.com> | 2016-12-05 15:12:22 +0300 |
---|---|---|
committer | Ershad Kunnakkadan <ershad92@gmail.com> | 2017-02-08 19:23:34 +0300 |
commit | 3a23639bc04729cfdc37e4b8ebf46358c3d5a137 (patch) | |
tree | db89ec896fd36ace8c2fc642e66106d9dfbec903 /lib/banzai/reference_extractor.rb | |
parent | 11d33873a8da5f90fd00bf0909dd1e9f8fca1448 (diff) |
Create directly_addressed Todos when mentioned in beginning of a line
Diffstat (limited to 'lib/banzai/reference_extractor.rb')
-rw-r--r-- | lib/banzai/reference_extractor.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/banzai/reference_extractor.rb b/lib/banzai/reference_extractor.rb index b26a41a1f3b..8e3b0c4db79 100644 --- a/lib/banzai/reference_extractor.rb +++ b/lib/banzai/reference_extractor.rb @@ -16,6 +16,11 @@ module Banzai processor.process(html_documents) end + def reset_memoized_values + @html_documents = nil + @texts_and_contexts = [] + end + private def html_documents |