Commit 1de976cd authored by nanahira's avatar nanahira

fix for mdpro3

parent 1ae80719
......@@ -78,7 +78,7 @@ export default class YGOProDeck {
}
fromYdkString(str: string) {
const lines = str.split('\n');
const lines = str.split(/\r?\n/);
let current = this.main;
for (const _line of lines) {
const line = _line.trim();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment