= Description =
## Please read this page. Lines prefixed with ## such as this one are comments,
## you can remove them (except for those after the "Plan" section.)
## Please follow the instructions given in those comments and the text.
## After creating the bug page, please subscribe to it! We may have questions
## that only you can answer, and if you get email when your bug changes it'll
## be much faster to get it fixed since you can answer the questions!
GUI editor will render an extra indent for each occurence of formatted text in the page. If you have a large page with lots of formatted text, then the GUI editor is unusable as all of the text is indented to the right in the GUI editor.

== Steps to reproduce ==
## Describe the steps needed to reproduce the bug. If we can't reproduce it, we  probably can't fix it.
If you have a page which has formatted text in it (i.e. text surrounded by `{{{` and `}}}`) then when this page is edited in the GUI editor, each occurrence of the formatted text forces an indent in the way the page is rendered in the GUI editor. So if the document is large and has many sections of formatted text, after a while the GUI editor is unusable as all of the text is indented to the right and is unusable. I've noticed this in 1.7.2 and I've just upgraded to 1.8.1 and it still exists. It makes the GUI editor unusable for me.

/!\ Could this be a browser problem? I do not get this problem in Firefox 3 but I do with IE 6 and IE 7 and including editing this page on your site.

== Example ==
See screenshot attached of text page opened in the GUI editor: {{attachment:screenshot.png}}

= Test Document =
Let's see if the indent in GUI editor gets messed up?

{{{
here is some formatted text like a script or screen output
}}}
This is a test

{{{
here is some more formatted text like a script or screen output
}}}
This is a test

{{{
here is some more formatted text like a script or screen output
}}}
You can see that the GUI editor has indented for each bit of formatted text. If it is a large page with lots of formatted code then after a while, it is unreadable in the GUI editor

== Component selection ==
## Where you think is this bug happening ? (general, plugin [plugin name], theme [theme name], ...
 * general

== Details ==
## If you got a traceback, please save the traceback page as html and attach here:
## [[attachment:traceback.html]]
## if the bug is in this wiki, just kill the table and write: This Wiki.
## If a traceback is not available, please fill in the details here:
||'''!MoinMoin Version''' ||1.8.1 ||
||'''OS and Version''' ||Windows 2003 Server ||
||'''Python Version''' ||2.5.1 ||
||'''Server Setup''' || ||
||'''Server Details''' || ||
||'''Language you are using the wiki in''' (set in the browser/UserPreferences) ||en ||


== Workaround ==
## How to deal with the bug until it is fixed
Use the text editor

= Discussion =

Which browser do you use? I can't reproduce with firefox 3.0.5 -- ReimarBauer <<DateTime(2009-01-02T17:34:42+0100)>>

Hi, I agree that it is not re-producable in firefox 3.0.5 but it is reproducable using Microsoft Internet Explorer 6 and Internet Explorer 7 (version 7.0.5730.13). So it seems to be a Microsoft Internet Explorer issue. If you can, try editing this page using Internet Explorer on Windows and the GUI editor and you should see the problem with my example above -- TomCann <<DateTime(2009-01-02T20:45:05+0100)>>


If we look at the source in IE6 and FF3.0.5 we found a missing `;` in the source from the IE6 gui editor. But this isn't the reason for this problem.

{{{#!diff
--- ie.html     2009-01-02 22:53:02.949259959 +0100                                                 
+++ ff.html     2009-01-02 22:53:41.416261999 +0100
@@ -73,7 +73,7 @@                                                                                   
     <tbody>                                                                                        
         <tr>                                                                                       
             <td>                                                                                   
-            <p class="line891"><b><span style="background-color: #ffff11">!</span>MoinMoin Version</b></p>                                                                                             
+            <p class="line891"><b><span style="background-color: rgb(255, 255, 17);">!</span>MoinMoin Version</b></p>                                                                                  
             </td>                                                                                  
             <td>                                                                                   
             <p class="line862">1.8.1</p>        
}}}

Can anyone confirm that they are seeing this same behaviour when they edit this page using Microsoft Internet Explorer?  -- TomCann <<DateTime(2009-01-05T11:44:20+0100)>>

 I have seen it in ie6 too. It looks to me to a browser bug and not a moin bug. -- ReimarBauer <<DateTime(2009-01-05T17:28:26+0100)>>

= Plan =
## This part is for Moin``Moin developers:
 * Priority:
 * Assigned to:
 * Status:

----
## If you are a moin core developer, replace the category to Category* in these cases:
## Category MoinMoinNoBug - if this is not a bug.
## Category MoinMoinBugConfirmed - if you can confirm the bug on current code.
## Category MoinMoinBugFixed - after the bug is fixed in current code.
CategoryMoinMoinBug