Skip to content

Commit

Permalink
fix normalization of spaces and breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
gfngfn committed Aug 31, 2018
1 parent 0ba0a26 commit 4848b14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chardecoder/lineBreakDataMap.ml
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ let normalization_rule : (((Uchar.t * line_break_class) list) rule) list =
(* -- preserve spaces between nonspaced characters -- *)
([nonspaced; exact SP], [bispace], [nonspaced]);
(* -- ignore spaces before and after a nonspaced characters -- *)
([nonspaced; exact SP], [], []);
([exact SP], [], [nonspaced]);
([nonspaced; set [SP; INBR]], [], []);
([set [SP; INBR]], [], [nonspaced]);
(* -- convert breaks into spaces -- *)
([exact INBR], [bispace], []);
]
Expand Down

0 comments on commit 4848b14

Please sign in to comment.