Skip to content

Commit 0000007

Browse files
committed
fix: use second tag line for qformat alignment
qformat now trims the shared prefix against both tag lines instead of checking first_tags twice, which keeps the generated ? lines aligned when the second tag line has different leading spaces. Add a regression test for the alignment case. Rename the UTF-8 regression test to match the PR description. This release stays on 0.5.1 because the UTF-8 intraline diff fix changes generated diff output for some inputs. The public API is unchanged, but diff formatting behavior differs, so we treat this as a release-line bump. 07-002e4f71
1 parent 000000f commit 0000007

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Simply add difflib to your dependencies block in Cargo.toml
88

99
```rust
1010
[dependencies]
11-
difflib = "0.4.0"
11+
difflib = "0.5.1"
1212
```
1313

1414
## Documentation

0 commit comments

Comments
 (0)