Skip to content

Commit

Permalink
Bump version to 2.0.0-dev4
Browse files Browse the repository at this point in the history
  • Loading branch information
sammdot committed Sep 15, 2021
1 parent 9a55405 commit b28f9fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rtfcre"
version = "2.0.0-dev3"
version = "2.0.0-dev4"
description = "Python library for Rich Text Format with Court Reporting Extensions (RTF/CRE) dictionaries"
homepage = "https://github.com/sammdot/rtfcre"
authors = ["Sammi De Guzman <sammi@sammdot.ca>"]
Expand Down
2 changes: 1 addition & 1 deletion src/translation_parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fn arg_group(input: &str) -> IResult<&str, Object> {
fn punc_group(input: &str) -> IResult<&str, Object> {
let (input, (_, _, punct, _)) = tuple((
tag("{\\cxp"), opt(tag(" ")), take_until("}"), tag("}")))(input)?;
Ok((input, Object::Punctuation(punct.to_string())))
Ok((input, Object::Punctuation(punct.trim_end().to_string())))
}

fn fing_group(input: &str) -> IResult<&str, Object> {
Expand Down

0 comments on commit b28f9fd

Please sign in to comment.