Skip to content

Commit

Permalink
do not mark error on single subclauses in boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Mar 12, 2020
1 parent b5e4453 commit fd3e2a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/asciidoctor/standoc/utils.rb
Expand Up @@ -180,7 +180,8 @@ def datauri2mime1(file, imgdata)
type
end

SUBCLAUSE_XPATH = "//clause[not(parent::sections)]".freeze
SUBCLAUSE_XPATH = "//clause[not(parent::sections)]"\
"[not(ancestor::boilerplate)]".freeze
end
end
end

0 comments on commit fd3e2a9

Please sign in to comment.