Skip to content

Commit

Permalink
Add spaces at beginning of header
Browse files Browse the repository at this point in the history
  • Loading branch information
sammdot committed Jan 6, 2021
1 parent 4604510 commit cd850a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rtf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ fn some_entries(input: &str) -> IResult<&str, Vec<(String, String, Option<String
pub fn parse_file(input: &str) -> IResult<&str, Dictionary> {
let (input, (_, cxsystem, _, entries)) = tuple((
recognize(tuple((
multispace0,
tag("{"), multispace0, tag(r"\rtf1"), multispace0, tag(r"\ansi"), multispace0,
tag(r"{\*\cxrev100}"), multispace0, tag(r"\cxdict"), multispace0))),
cxsystem,
Expand Down

0 comments on commit cd850a5

Please sign in to comment.