Bug 73476

Summary: <pre> tag not handled properly in WYSIWYG mode
Product: quanta Reporter: Arwed Starke <Arwed_Starke>
Component: generalAssignee: András Manţia <amantia>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Arwed Starke 2004-01-25 19:02:56 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3.1 on MDK 9.2
OS:          Linux

I really like the visual mode of Quanta 3.2.0 rc1.

But it does not handle <pre></pre> correctly. Preformatted Text appears "as typed" in your browser. So there is no need to write "br" and &nbsp; and stuff within <pre> - in fact, this is wrong, as everything is displayed "as is". But Quanta does not recognize this behaviour. I'm trying to write

<pre>
line 1
line 2
some more lines
</pre>

a) This is displayed as "line 1 line 2 some more lines" in visual mode.
b) Trying to write the above in visual mode, you end up with

	line 1 <br>
&nbsp; &nbsp; &nbsp; line2 
<br>

in your code.

Greetz
pinglord
Comment 1 Nicolas Deschildre 2004-02-09 08:47:58 UTC
Both bugs fixed, will commit soon!
Thanks for the bugreport.