Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Tabs in IE. #8

Closed
GoogleCodeExporter opened this issue Apr 22, 2015 · 5 comments
Closed

Tabs in IE. #8

GoogleCodeExporter opened this issue Apr 22, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

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.

Original issue reported on code.google.com by jcarras...@gmail.com on 27 Mar 2007 at 3:07

Attachments:

@GoogleCodeExporter
Copy link
Author

Thanks for the example.  Does IE assume a tab width of 8?

Original comment by mikesamuel@gmail.com on 27 Mar 2007 at 6:53

@GoogleCodeExporter
Copy link
Author

Normally yes, a tab width of 8 spaces, but using the script the tabs collapse 
and no
indentation is shown.

Original comment by jcarras...@gmail.com on 27 Mar 2007 at 9:45

@GoogleCodeExporter
Copy link
Author

will fix

Original comment by mikesamuel@gmail.com on 28 Mar 2007 at 12:50

@GoogleCodeExporter
Copy link
Author

Thanks.

Original comment by jcarras...@gmail.com on 28 Mar 2007 at 10:29

@GoogleCodeExporter
Copy link
Author

I believe this is fixed now.

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

Changelog at http://google-code-prettify.googlecode.com/svn/trunk/CHANGES.html

Original comment by mikesamuel@gmail.com on 2 Apr 2007 at 6:54

  • Changed state: Fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants