mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
Fix minor card render problems (#8478)
* Missing space * Unescape line breaks in card descriptions
This commit is contained in:
@@ -252,7 +252,9 @@ public class VStack extends FDropDown {
|
||||
stackInstance = stackInstance0;
|
||||
CardView card = stackInstance.getSourceCard();
|
||||
|
||||
text = stackInstance.getText();
|
||||
text = stackInstance.getText()
|
||||
.replace("\\r", "\r")
|
||||
.replace("\\n", "\n");
|
||||
if (stackInstance.isOptionalTrigger() &&
|
||||
stackInstance0.getActivatingPlayer().equals(MatchController.instance.getCurrentPlayer())) {
|
||||
text = "(OPTIONAL) " + text;
|
||||
|
||||
Reference in New Issue
Block a user