aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/source/read_source_files.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/source/read_source_files.d')
-rw-r--r--src/doc_reform/source/read_source_files.d6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc_reform/source/read_source_files.d b/src/doc_reform/source/read_source_files.d
index 05f6630..f4de5fe 100644
--- a/src/doc_reform/source/read_source_files.d
+++ b/src/doc_reform/source/read_source_files.d
@@ -85,10 +85,10 @@ static template DocReformRawMarkupContent() {
string source_txt_str;
try {
if (exists(fn_src)) {
- debug(io) {
- writeln("in src, markup source file found: ", fn_src);
+ if (fn_src.getLinkAttributes.attrIsFile) {
+ source_txt_str = fn_src.readText;
+ } else {
}
- source_txt_str = fn_src.readText;
}
} catch (ErrnoException ex) {
} catch (UTFException ex) {