B2018-128 Added check for font change command. Fixes inserting RO’s containing hyphens into tables, preventing an extra space to appear after the hyphen.
This commit is contained in:
parent
6a660a8c67
commit
d2a442e385
@ -669,7 +669,8 @@ namespace VEPROMS.CSLA.Library
|
|||||||
char tst = Cmd[1];
|
char tst = Cmd[1];
|
||||||
// consider rtf commands up/dn/b/ul/i
|
// consider rtf commands up/dn/b/ul/i
|
||||||
// B2018-067 Added more specific comparison to eliminate \u8209? from consideration
|
// B2018-067 Added more specific comparison to eliminate \u8209? from consideration
|
||||||
if (Cmd.StartsWith("\\up") || tst == 'd' || tst == 'b' || Cmd.StartsWith("\\ul") || tst == 'i') return true;
|
// B2018-128 Added check for font specification (tst =='f') so we don't get a hard space after the font command (happend inserting RO in tables) - Farely SAMGs
|
||||||
|
if (Cmd.StartsWith("\\up") || tst == 'd' || tst == 'b' || Cmd.StartsWith("\\ul") || tst == 'i' || tst =='f') return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user