Skip to content

Commit

Permalink
Fixed emphasis word resolution when emphasis starts on space.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeGray-APH committed Nov 10, 2016
1 parent b7ee187 commit da5ff78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions liblouis/lou_translateString.c
Expand Up @@ -2806,6 +2806,10 @@ resolveEmphasisWords(
word_start = i;
word_whole = 0;
}

/* emphasis started on space */
if(!(wordBuffer[i] & WORD_CHAR))
word_start = -1;
}

/* check if at end of emphasis */
Expand Down

0 comments on commit da5ff78

Please sign in to comment.