Skip to content

Commit 12464ef

Browse files
committed
Fix paragraph spacing
1 parent 609dfba commit 12464ef

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rtfcre"
3-
version = "2.0.0"
3+
version = "2.0.1"
44
description = "Python library for Rich Text Format with Court Reporting Extensions (RTF/CRE) dictionaries"
55
homepage = "https://github.com/sammdot/rtfcre"
66
authors = ["Sammi De Guzman <[email protected]>"]

src/translation_parse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ pub fn format_rtf_to_plover(tl: &str) -> String {
261261
let items = parse_translation(tl).iter()
262262
.map(|obj| {
263263
match obj {
264-
Object::Paragraph(mode) => format!("{{^\\n\\n^}}{}",
264+
Object::Paragraph(mode) => format!("{{^\n\n^}}{}",
265265
match mode { ParagraphMode::Default => "", ParagraphMode::Contin => " " }),
266266
Object::Fingerspell(letters) => format!("{{&{}}}", letters),
267267
Object::Stitch(letters) => format!("{{:stitch:{}}}", letters),

0 commit comments

Comments
 (0)