From 5b2a9e60b265a3953ec80c501b8d602bdaf6977d Mon Sep 17 00:00:00 2001 From: Emil Hultcrantz Date: Sat, 4 Apr 2026 14:38:13 +0200 Subject: [PATCH 1/3] Update Cargo.lock file --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a172826..63792c6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -583,7 +583,7 @@ checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" [[package]] name = "rustwell" -version = "0.2.0" +version = "0.3.0" dependencies = [ "bitflags 2.11.0", "krilla", @@ -592,7 +592,7 @@ dependencies = [ [[package]] name = "rustwell-cli" -version = "0.2.0" +version = "0.3.0" dependencies = [ "clap", "color-eyre", From 18a878d4776111a141e4aa782282a55de744f791 Mon Sep 17 00:00:00 2001 From: Emil Hultcrantz Date: Sat, 4 Apr 2026 14:39:13 +0200 Subject: [PATCH 2/3] Update css to force content-box This makes sure that nothing, such as `Tailwind` preflight switches `box-sizing` for the Rustwell outputted `html` --- crates/rustwell/src/export/style.css | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/crates/rustwell/src/export/style.css b/crates/rustwell/src/export/style.css index b2be767..a11f4f2 100644 --- a/crates/rustwell/src/export/style.css +++ b/crates/rustwell/src/export/style.css @@ -1,15 +1,13 @@ /* Reset */ -.rustwell div, -.rustwell p, -.rustwell span, -.rustwell strong, -.rustwell em { +.rustwell, +.rustwell * { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; + box-sizing: content-box; } /* Wrapper */ From 3d0642a6eebb813675b62c96d092d179e867f600 Mon Sep 17 00:00:00 2001 From: Emil Hultcrantz Date: Sat, 4 Apr 2026 14:42:14 +0200 Subject: [PATCH 3/3] Update Rustwell patch --- Cargo.lock | 2 +- crates/rustwell/Cargo.toml | 2 +- crates/rustwell/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 63792c6..4352603 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -583,7 +583,7 @@ checksum = "94300abf3f1ae2e2b8ffb7b58043de3d399c73fa6f4b73826402a5c457614dbe" [[package]] name = "rustwell" -version = "0.3.0" +version = "0.3.1" dependencies = [ "bitflags 2.11.0", "krilla", diff --git a/crates/rustwell/Cargo.toml b/crates/rustwell/Cargo.toml index 5ab334e..7de6b50 100644 --- a/crates/rustwell/Cargo.toml +++ b/crates/rustwell/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustwell" -version = "0.3.0" +version = "0.3.1" edition = "2024" license = "MIT" description = "A library for parsing and compiling fountain screenplay scripts." diff --git a/crates/rustwell/README.md b/crates/rustwell/README.md index 35bc391..613c193 100644 --- a/crates/rustwell/README.md +++ b/crates/rustwell/README.md @@ -10,7 +10,7 @@ Add this dependency to your `Cargo.toml`: ```toml [dependencies] -rustwell = "0.3.0" +rustwell = "0.3.1" ``` and then start using the library. Please read the documentation for more details on how to use the library.