Skip to content

Multiplier and backward selector problem #6

Open
rstacruz opened this Issue Dec 8, 2009 · 1 comment

1 participant

@rstacruz
Owner
rstacruz commented Dec 8, 2009

As reported via email by Michal. Report quoted below.

if you type:
li*2>dd>dt>a>img<<dl

it produces:

 <li>
     <dd>
         <dt>
             <a href="">
                 <img src="" alt="" />
             </a>
         </dt>
         <dl></dl>
     </dd>
 </li>
 <li>
     <dd>
         <dt>
             <a href="">
                 <img src="" alt="" />
             </a>
         </dt>
     </dd>
 </li>

Note the lack of <dl/> tag in second <li/>

@ghost
ghost commented Mar 2, 2015

I think what will benefit multiplication is fixing parentheses behavior. Instead of simply grouping, it implicitly assumes a <div> or skips the first element. For example, p (h1 + h2) produces <p></p><h2></h2> instead of the expected <p><h1/><h2/></p>.

I'm still kinda wet behind the ears with Python, so I don't know where I would begin hacking on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.