Expanding child/parent multiplier line fails… #28

Open
jannisg opened this Issue Nov 14, 2010 · 1 comment

Projects

None yet

1 participant

@jannisg
jannisg commented Nov 14, 2010

I'm trying to expand this line but it seems I made a mistake in there somewhere…

ul*4>li.header>h1+p<li*4>a[href=#]

which outputs:

<ul>
    <li class="header">
        <h1></h1>
        <p></p>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
</ul>
<ul>
    <li class="header">
        <h1></h1>
        <p></p>
    </li>
</ul>
<ul>
    <li class="header">
        <h1></h1>
        <p></p>
    </li>
</ul>
<ul>
    <li class="header">
        <h1></h1>
        <p></p>
    </li>
</ul>

Where it should be:

<ul>
    <li class="header">
        <h1></h1>
        <p></p>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
</ul>
<ul>
    <li class="header">
        <h1></h1>
        <p></p>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
</ul>
<ul>
    <li class="header">
        <h1></h1>
        <p></p>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
</ul>
<ul>
    <li class="header">
        <h1></h1>
        <p></p>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
    <li>
        <a href="#"></a>
    </li>
</ul>

Any ideas on how I can get this to work?

Thanks for taking a look.

@ghost
ghost commented Nov 18, 2014

Based on what I've found on the Zen Coding syntax docs, this is a bug and needs to be fixed. I don't have a fix for this yet, but I wanted to let you know this is the first issue I'll be working on as a contributor. Thanks for submitting the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment