projects
/
biaweb2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Separated the strings used for document tree generation from code
[biaweb2.git]
/
biawebdocument.hpp
diff --git
a/biawebdocument.hpp
b/biawebdocument.hpp
index
3fc15e1
..
65005dd
100644
(file)
--- a/
biawebdocument.hpp
+++ b/
biawebdocument.hpp
@@
-182,10
+182,9
@@
namespace biaweb {
this->mdate = this->cdate;
// read the rest of contents
std::string line;
this->mdate = this->cdate;
// read the rest of contents
std::string line;
- std::getline (infile, line);
while (! infile.eof ()) {
while (! infile.eof ()) {
- contents.append (line + "\n");
std::getline (infile, line);
std::getline (infile, line);
+ contents.append (line + "\n");
}
this->set_markdown_content (contents);
}
}
this->set_markdown_content (contents);
}