We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ece7e4 commit 660b8acCopy full SHA for 660b8ac
_plugins/hideCustomBibtex.rb
@@ -4,7 +4,7 @@ def hideCustomBibtex(input)
4
keywords = @context.registers[:site].config['filtered_bibtex_keywords']
5
6
keywords.each do |keyword|
7
- input = input.gsub(/^.*#{keyword}.*$\n/, '')
+ input = input.gsub(/^.*\b#{keyword}\b *= *\{.*$\n/, '')
8
end
9
10
return input
0 commit comments