summaryrefslogtreecommitdiffstats
path: root/scripts/MarkdownBook/Document
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-08-12 07:50:04 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-08-12 07:50:04 (EDT)
commitb8ea4e24bf2c177f7c51861d1a33166f912082c5 (patch)
tree483845610c686a6c1a2ef8119855aa4921242085 /scripts/MarkdownBook/Document
parenteda7d670f3545bbf0a5704a19920417c71d25e60 (diff)
Support macro substitutions.
Diffstat (limited to 'scripts/MarkdownBook/Document')
-rw-r--r--scripts/MarkdownBook/Document/Txt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/MarkdownBook/Document/Txt.pm b/scripts/MarkdownBook/Document/Txt.pm
index 4f30d43..e03a1bb 100644
--- a/scripts/MarkdownBook/Document/Txt.pm
+++ b/scripts/MarkdownBook/Document/Txt.pm
@@ -33,7 +33,7 @@ sub output
print($out_fh $self->{'title'} . "\n" .
'*' x length($self->{'title'}) . "\n\n\n");
- print($out_fh $self->{'source_text'});
+ print($out_fh $self->{'book'}->subst_macros($self->{'source_text'}));
close($out_fh);
}