Function wrapToHtml

wraps some string in a html page

string wrapToHtml (
  string content,
  string title
);

Example

should replace the variables inside the page.html

auto page = wrapToHtml("some content", "some title");

page.should.contain(`<title>some title</title>`);
page.should.contain("<body>\n  some content\n</body>");