My favorites | Sign in
Google
                
New issue | Search
for
| Advanced search | Search tips
Issue 8: Tabs in IE.
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  mikesamuel
Closed:  Apr 2007
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by jcarrascal, Mar 26, 2007
If tabs are used to indent code inside <pre> IE6 and 7 won't honor them
after the script runs.

Code indented with tabs will be shown aligned to the left margin instead of
the proper indenting shown in Firefox.

I'm using Revision 20 of prettify.js, IE 6.0.29.00 in English and IE
7.0.5730.11 in Spanish.

The attached file will reproduce the problem.
tabsinie.zip
12.2 KB Download
Comment 1 by mikesamuel, Mar 27, 2007
Thanks for the example.  Does IE assume a tab width of 8?
Comment 2 by jcarrascal, Mar 27, 2007
Normally yes, a tab width of 8 spaces, but using the script the tabs collapse and no
indentation is shown.
Comment 3 by mikesamuel, Mar 27, 2007
will fix
Owner: mikesamuel
Comment 4 by jcarrascal, Mar 28, 2007
Thanks.
Comment 5 by mikesamuel, Apr 02, 2007
I believe this is fixed now.

Testcase at
http://google-code-prettify.googlecode.com/svn/trunk/tests/prettify_test.html#issue8

Changelog at http://google-code-prettify.googlecode.com/svn/trunk/CHANGES.html
Status: Fixed
Sign in to add a comment