mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
CardDetailUtil.composeCardText add support for ",,," = line break
This commit is contained in:
@@ -309,8 +309,9 @@ public class CardDetailUtil {
|
||||
regex = "LEVEL [0-9]+\\+ \\[[0-99]+/[0-99]]+ ";
|
||||
text = text.replaceAll(regex, "$0\r\n");
|
||||
|
||||
regex = "LEVEL [0-9]+\\+ ";
|
||||
text = text.replaceAll(regex, "\r\n$0\r\n");
|
||||
// ",,," becomes a line break
|
||||
regex = ",,,";
|
||||
text = text.replaceAll(regex, "\r\n");
|
||||
|
||||
// displays keywords that have dots in them a little better:
|
||||
regex = "\\., ";
|
||||
|
||||
Reference in New Issue
Block a user