Skip to content

Commit

Permalink
Merge pull request #89 from languitar/bugfix/typos
Browse files Browse the repository at this point in the history
Fix typos in comments
  • Loading branch information
ProgramFan authored Aug 21, 2022
2 parents 32b997f + 928ce21 commit 8ad9549
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/asciidoctor-bibtex/extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
module AsciidoctorBibtex
module Asciidoctor
# Placeholder paragraph for the bibliography paragraph. Choose a uuid so
# that it is a special word unlikeky to conflict with normal texts.
# that it is a special word unlikely to conflict with normal texts.
BibliographyBlockMacroPlaceholder = %(a5d42deb-3cfc-4293-b96a-fcb47316ce56)

# BibliographyBlockMacro
Expand All @@ -32,7 +32,7 @@ class BibliographyBlockMacro < ::Asciidoctor::Extensions::BlockMacroProcessor

def process(parent, target, attrs)
# NOTE: bibtex-file and bibtex-style set by this macro shall be
# overridable by document attributes and commandline arguments. So we
# overridable by document attributes and command line arguments. So we
# respect the convention here.
if target && (!parent.document.attr? 'bibtex-file')
parent.document.set_attribute 'bibtex-file', target
Expand All @@ -53,7 +53,7 @@ def process(parent, target, attrs)
#
# This processor scans the document, generates a list of citations, replaces
# each citation with citation text and the reference block macro placeholder
# with the final bibliography list. It relys on the block macro processor to
# with the final bibliography list. It relies on the block macro processor to
# generate the place holder.
#
# NOTE: According to the asiidoctor extension policy, the tree processor can
Expand Down

0 comments on commit 8ad9549

Please sign in to comment.