Bug 73476 - <pre> tag not handled properly in WYSIWYG mode
Summary: <pre> tag not handled properly in WYSIWYG mode
Status: RESOLVED FIXED
Alias: None
Product: quanta
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: András Manţia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-25 19:02 UTC by Arwed Starke
Modified: 2004-02-09 08:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.