huilin1990 / zen-coding

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

Dreamweaver CS5.5: Wrapping with Abbreviation turns all '$' characters to '1''s #326

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open Dreamweaver
2. Open New HTML Document
3. Add '$' Character
4. Highlight and either use the keyboard shortcut Control + H or Command > Zen 
Coding > Wrap with Abbreviation
5. Wrap it in any HTML tag, a div for example
6. Your '$' character turns into a '1'

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

One would expect it to wrap the '$', dollar sign, symbol, character in a 
<div></div>, so one would see <div>$</div>; instead it changes the '$' to a '1' 
and thus making <div>1</div>.

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

Dreamweaver CS5.5, Windows 7, Zen Coding 0.7.5 Extension

Please provide any additional information below.

This is a pretty straight forward issue to recreate, I only noticed it because 
I have a WordPress PHP snippet with the line:

'items_wrap' => '%3$s'

and I noticed it kept changing it to:

'items_wrap' => '%31s'

...after I'd wrap it using Zen Coding.

I haven't seen this issue marked anywhere so if it is delete this report.

Cheers,
Frank

Original issue reported on code.google.com by IamFrankStallone on 8 Mar 2012 at 12:51

GoogleCodeExporter commented 8 years ago
div{\$}>a[rel="\$"]

Original comment by Byz...@gmail.com on 15 Apr 2012 at 3:43

GoogleCodeExporter commented 8 years ago
Byz...@gmail.com do you want to provide any context to your post?

Original comment by IamFrankStallone on 15 Apr 2012 at 11:32

GoogleCodeExporter commented 8 years ago
Issue 327 has been merged into this issue.

Original comment by serge....@gmail.com on 25 Jun 2012 at 9:22

GoogleCodeExporter commented 8 years ago
This bug is fixed in current ZC core. DW plugin should contain this fix when 
new version of ZC will be available.

Original comment by serge....@gmail.com on 4 Jul 2012 at 10:06