Quote:
Originally Posted by kiklop74
Actually it does have an effect. ...
You will get this result:
Code:
<div class="c"></div>
<div class="a"></div>
<div class="b"></div>
Therefore the order is important.
|
Interesting. I would have expected it to scan each tag it finds, as it finds it, against the filter list of the keep_only tags. That would produce an output that was in the same order as the input, a result that I would have expected.
To get the order-dependent result above, it looks like Calibre's recipe code scans the entire page against the first item in the list (c), then scans the entire page again against the second item (a) and finally scans the entire page a third time against the last item in the list (b).