austgl / zen-coding

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

Error with formatting of PRE tag OR New Filter Request: pre #135

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. wrap pre-formatted text with abbreviation 'pre' or 'pre>code'
2. additional tabs are added for each line

What is the expected output? What do you see instead?
I expected text wrapped with pre tag to keep original formatting including
the number of tabs.
body {  background-color: #fff;
    color: #000;
    }
Wrapping the example css with pre:
<pre>body {     background-color: #fff;
            color: #000;
            }</pre>
Wrapping the example css with pre>code:
<pre><code>body {   background-color: #fff;
                color: #000;
                }</code></pre>
What version of the product are you using? On what operating system?
ZC v6.0.1 within Aptana Studio, build: 2.0.3.1265134283 on Win Vista.

Please provide any additional information below.
The css was originally within body>div#main which may account for 3 tabs
for pre, and 4 tabs for pre>code

It may be that this problem would require a different formatting. I wonder
if a new filter:pre would be more appropriate to resolve this?

Original issue reported on code.google.com by webs%fla...@gtempaccount.com on 10 Mar 2010 at 3:47

GoogleCodeExporter commented 8 years ago
i think current version of ZC works as expected

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