)"),
+
+ // entries are written beside the listing and linked, rather than base64'd
+ // into it, so the path opens one and the glyph saves it
+ EXPECT_EQ(page.find("data:"), std::string::npos);
+ EXPECT_NE(page.find(R"()"),
std::string::npos);
EXPECT_NE(
- page.find(R"(| /Configurations2/menubar/ | )"),
+ page.find(
+ R"()"),
std::string::npos);
+ EXPECT_TRUE(std::filesystem::is_regular_file(
+ std::filesystem::path(output_path) / "content.xml"));
+ EXPECT_TRUE(std::filesystem::is_regular_file(
+ std::filesystem::path(output_path) / "Pictures" /
+ "10000000000001F4000001FF1D2394A8.jpg"));
}
TEST(html, views) {
diff --git a/wasm/src/wasm_core.cpp b/wasm/src/wasm_core.cpp
index 47173fd4b..5b1861587 100644
--- a/wasm/src/wasm_core.cpp
+++ b/wasm/src/wasm_core.cpp
@@ -97,7 +97,8 @@ emscripten::val enum_tables() {
entry("js", HtmlResourceType::js),
entry("image", HtmlResourceType::image),
entry("font", HtmlResourceType::font),
- entry("media", HtmlResourceType::media)));
+ entry("media", HtmlResourceType::media),
+ entry("file", HtmlResourceType::file)));
result.set("HtmlTableGridlines",
table(entry("none", HtmlTableGridlines::none),
entry("soft", HtmlTableGridlines::soft),