Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expanding child/parent multiplier line fails… #28

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

Expanding child/parent multiplier line fails… #28

jannisg opened this issue Nov 14, 2010 · 1 comment

Comments

@jannisg
Copy link

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
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant