this->mdate = this->cdate;
// read the rest of contents
std::string line;
- std::getline (infile, line);
while (! infile.eof ()) {
- contents.append (line + "\n");
std::getline (infile, line);
+ contents.append (line + "\n");
}
this->set_markdown_content (contents);
}