Skip to content

Commit 0e84cbe

Browse files
committed
Revert to fixed htmd version until next merge/release.
1 parent 6f3da08 commit 0e84cbe

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

server/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ dunce = "1.0.5"
7474
# This is also for integration testing.
7575
futures = { version = "0.3.31", optional = true }
7676
futures-util = "0.3.29"
77-
htmd = "0.4"
77+
htmd = { git = "https://github.com/bjones1/htmd.git", branch = "fix-faithful-serialization", version = "0.3.2" }
7878
imara-diff = { version = "0.2", features = [] }
7979
indoc = "2.0.5"
8080
lazy_static = "1"

server/src/processing.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,10 @@ fn doc_block_html_to_markdown(
564564
// the comment text. Use `min` to avoid overflow with unsigned
565565
// subtraction.
566566
WORD_WRAP_COLUMN
567-
- min(doc_block.delimiter.chars().count() + 1 + doc_block.indent.chars().count(), WORD_WRAP_COLUMN),
567+
- min(
568+
doc_block.delimiter.chars().count() + 1 + doc_block.indent.chars().count(),
569+
WORD_WRAP_COLUMN,
570+
),
568571
));
569572
doc_block.contents = converter
570573
.convert(&doc_block.contents)

0 commit comments

Comments
 (0)