1 parent e9c3c6f commit 2e8df39Copy full SHA for 2e8df39
1 file changed
SimpleImageIO/FlipBook.cs
@@ -420,8 +420,8 @@ public GeneratedCode Generate() {
420
}
421
422
string id = "flipbook-" + Guid.NewGuid().ToString();
423
- string style = customCSS ?? $"style='width:{htmlWidth}px; height:{htmlHeight}px; resize: both; overflow: auto;'></div>";
424
- string html = $"<div id='{id}' {style}";
+ string style = customCSS ?? $"width:{htmlWidth}px; height:{htmlHeight}px; resize: both; overflow: auto;";
+ string html = $"<div id='{id}' style='{style}'></div>";
425
426
string initialTMOStr = "null";
427
if (initialTMO != null) {
0 commit comments