summaryrefslogtreecommitdiff
path: root/src/matrix.rs
diff options
context:
space:
mode:
authorSavagePeanut <sourcehut@lazytapir.com>2023-09-08 11:50:13 -0500
committerSavagePeanut <sourcehut@lazytapir.com>2023-09-08 11:51:54 -0500
commit7c73544dac2c1d5b21e201469a0c9c6d0a654f0b (patch)
tree2b8c584327689c4d8e7ddc17edda3cafb5b4b384 /src/matrix.rs
parent35884c910a190237abfbab40a536b2d14f826f92 (diff)
fix telegram styles
Diffstat (limited to 'src/matrix.rs')
-rw-r--r--src/matrix.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/matrix.rs b/src/matrix.rs
index 963e569..47fa984 100644
--- a/src/matrix.rs
+++ b/src/matrix.rs
@@ -60,7 +60,6 @@ pub fn format_for_matrix(body: String) -> PyResult<String> {
} else {
replace_newlines_to - offset.abs() as usize
};
- println!("chars {:?}", chars.clone().into_iter().collect::<String>());
}
let substring = chars[..replace_newlines_to].into_iter().collect::<String>();
let text = [substring.replace('\n', "<br>"), chars[replace_newlines_to..].into_iter().collect::<String>()].concat();