mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
Merge pull request #8170 from kevlahnota/newMaster
fix Summon: Choco/Mog not importing
This commit is contained in:
@@ -581,7 +581,9 @@ public class DeckRecognizer {
|
|||||||
line = refLine.trim(); // Remove any trailing formatting
|
line = refLine.trim(); // Remove any trailing formatting
|
||||||
|
|
||||||
// Some websites export split card names with a single slash. Replace with double slash.
|
// Some websites export split card names with a single slash. Replace with double slash.
|
||||||
line = SEARCH_SINGLE_SLASH.matcher(line).replaceFirst(" // ");
|
// Final fantasy cards like Summon: Choco/Mog should be ommited to be recognized. TODO: fix maybe for future cards
|
||||||
|
if (!line.contains("Summon:"))
|
||||||
|
line = SEARCH_SINGLE_SLASH.matcher(line).replaceFirst(" // ");
|
||||||
if (StringUtils.startsWith(line, ASTERISK)) // markdown lists (tappedout md export)
|
if (StringUtils.startsWith(line, ASTERISK)) // markdown lists (tappedout md export)
|
||||||
line = line.substring(2);
|
line = line.substring(2);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user