| Issue 8: | Tabs in IE. | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
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. |
||||||||||
,
Mar 27, 2007
Thanks for the example. Does IE assume a tab width of 8? |
|||||||||||
,
Mar 27, 2007
Normally yes, a tab width of 8 spaces, but using the script the tabs collapse and no indentation is shown. |
|||||||||||
,
Mar 27, 2007
will fix
Owner: mikesamuel
|
|||||||||||
,
Mar 28, 2007
Thanks. |
|||||||||||
,
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
|
|||||||||||
|
|
|||||||||||