keny700 / zen-coding

Automatically exported from code.google.com/p/zen-coding
0 stars 0 forks source link

Wrap With Abbreviation : Duplicates original text after code is applied #298

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. select text
2. perform Wrap With Abbreviation
3. HTML code is produced properly, but the text that was originally selected is 
duplicated directly after the code

What is the expected output? What do you see instead?

When selecting and processing this:

---
one
two
three

---
Select and do: "ul>li*>a"
I expect:

---
<ul>
    <li><a href="">one</a></li>
    <li><a href="">two</a></li>
    <li><a href="">three</a></li>
</ul>

---
Instead, I get:
<ul>
    <li><a href="">one</a></li>
    <li><a href="">two</a></li>
    <li><a href="">three</a></li>
</ul>one
two
three

---

What version of the product are you using? On what operating system?

ZenCoding Bundle 0.7 
TextMate 1.5.10
OS X 10.7.2

Please provide any additional information below.

When I revert to version 0.6 of the bundle, this behavior is fixed.

Original issue reported on code.google.com by rarey...@gmail.com on 1 Nov 2011 at 5:01

GoogleCodeExporter commented 8 years ago

Original comment by serge....@gmail.com on 4 Jul 2012 at 9:49