forked from External/mage
text adjustments and typo fixes
This commit is contained in:
parent
acceb33bd9
commit
6b23cd25f9
8 changed files with 13 additions and 15 deletions
|
|
@ -972,7 +972,8 @@ public final class CardUtil {
|
|||
if (text.startsWith("a ")
|
||||
|| text.startsWith("an ")
|
||||
|| text.startsWith("another ")
|
||||
|| text.startsWith("any ")) {
|
||||
|| text.startsWith("any ")
|
||||
|| text.startsWith("one ")) {
|
||||
return text;
|
||||
}
|
||||
return (!text.isEmpty() && vowels.contains(text.substring(0, 1))) ? "an " + text : "a " + text;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue