Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2022-10-07 21:03:47 +0300
committerGitHub <noreply@github.com>2022-10-07 21:03:47 +0300
commit7204617df893ffd4cf46412013533740c37dcab2 (patch)
tree96953169ab88d81fec99473d74f389a4fb4b3626
parentb3f3aa2c67f72d530993d8d42f8967ec81defca8 (diff)
parent4f9900b2295012aae3c71dccc0e9bb325246a6b4 (diff)
Merge pull request #1740 from git/ttaylorr/multilevel-asciidoc-includes
lib/tasks/index.rake: handle nested AsciiDoc includes
-rw-r--r--lib/tasks/index.rake3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/tasks/index.rake b/lib/tasks/index.rake
index 85ca66bf..e669e033 100644
--- a/lib/tasks/index.rake
+++ b/lib/tasks/index.rake
@@ -150,7 +150,8 @@ def expand_content(content, path, get_f_content, generated)
else
new_content = get_f_content.call(new_fname)
if new_content
- expand_content(new_content.force_encoding("UTF-8"), new_fname, get_f_content, generated)
+ new_content = expand_content(new_content.force_encoding("UTF-8"),
+ new_fname, get_f_content, generated)
else
puts "#{new_fname} could not be resolved for expansion"
end