From bd40987bfc1d02a87f8979b2ef85f7e0948e2bcb Mon Sep 17 00:00:00 2001 From: unwox Date: Thu, 20 Mar 2025 18:40:08 +0600 Subject: artoftea: finally fix prices! --- parser/artoftea.fnl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'parser') diff --git a/parser/artoftea.fnl b/parser/artoftea.fnl index faef61d..386dc77 100644 --- a/parser/artoftea.fnl +++ b/parser/artoftea.fnl @@ -24,12 +24,13 @@ (+ (* (parser.anywhere - (parser.tag :option {:data-price-prefix "*" :data-price "*" + (parser.tag :option {:data-price-prefix "*" + :data-price (peg.Cg (parser.till "\"") :price) :value "*" :selected "selected"} (peg.Cg (parser.till "") :weight))) (parser.anywhere (parser.tag :span {:data-price "*" :class "*"} - (peg.Cg (parser.till "") :price)))) + (parser.till "")))) (parser.anywhere (parser.tag :span {:data-price "*" :class "*"} (peg.Cg (parser.till "") :price)))) -- cgit v1.2.3