diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/doctool/doctool.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/doctool/doctool.js b/tools/doctool/doctool.js index da31445fe13..634d82c9218 100644 --- a/tools/doctool/doctool.js +++ b/tools/doctool/doctool.js @@ -110,6 +110,7 @@ if (argc > 3) { // go markdown. html = convertData(data); filename = path.basename(filename, '.markdown'); + output = output.replace(/{{filename}}/g, filename); if (filename != "_toc" && filename != "index") { if (data) { |