From 290f034d9894e15a23746aebb3c3250c28e608b6 Mon Sep 17 00:00:00 2001 From: twanvl Date: Sat, 9 Aug 2008 16:31:55 +0000 Subject: [PATCH] include hybrids in html export git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1121 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/magic-spoiler.mse-export-template/export-template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/magic-spoiler.mse-export-template/export-template b/data/magic-spoiler.mse-export-template/export-template index 451dfcbe..bacfa52b 100644 --- a/data/magic-spoiler.mse-export-template/export-template +++ b/data/magic-spoiler.mse-export-template/export-template @@ -155,9 +155,9 @@ script: } write_group := { cards := filter_list(cards, filter: - if code == "L" - then { contains(color_of_card(card:input), match:"L") } - else { color_of_card(card:input) == code } + { # The first character of the color_of_card code must be equal to 'code' + substring(color_of_card(card:input), begin:0, end:1) == code + } ) count := number_of_items(in:cards) if count > 0 then