BloomTests.web.EnhancedImageServerTests.SetupDomWithAmpersandInTitle C# (CSharp) Method

SetupDomWithAmpersandInTitle() private method

private SetupDomWithAmpersandInTitle ( ) : HtmlDom
return Bloom.Book.HtmlDom
        private HtmlDom SetupDomWithAmpersandInTitle()
        {
            var ampSubfolder = Path.Combine(_folder.Path, "Using <, >, & & in HTML");
            Directory.CreateDirectory(ampSubfolder);
            var html =
                @"<html ><head><title>Using &lt;lt;, &gt;gt;, &amp; &amp;amp; in HTML</title></head><body>here it is</body></html>";
            var dom = new HtmlDom(html);
            dom.BaseForRelativePaths = ampSubfolder.ToLocalhost();
            return dom;
        }