Bug 72535

Summary: Recursive entity escaping in VPL
Product: quanta Reporter: Thomas Tanghus <thomas>
Component: generalAssignee: András Manţia <amantia>
Status: RESOLVED FIXED    
Severity: normal CC: ndeschildre
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Thomas Tanghus 2004-01-13 10:00:11 UTC
Version:           3.2 Bleeding Edge (2004-01-08) (using KDE 3.1.94 (CVS >= 20031206), compiled sources)
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.20-4GB

When using the combined VPL/source edit view the quanta makes recursive escaping of entities.

Example:

create a paragraph in the source view:

    <p>foo
    </p>

Switch to the VPL view, place the cursor right after 'foo', press the space bar, press return.
Result:
    <p>
      foo 
      
      <br />
       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </p>

Do it a couple of times and you end up with an excessive amount of nbsp's and then it sometimes escapes the ampersands to &amp;
I can't quite reproduce when that happens - I'll try to play around with it a bit more :-)
Comment 1 Nicolas Deschildre 2004-01-23 16:18:31 UTC
Confirmed, but actually it is not a showstopper bug :(
Will be fixed in the next release.
Comment 2 Nicolas Deschildre 2004-02-06 23:33:09 UTC
Fixed! (Even if i have not the rights right now to set the bug as fixed)
Will commit soon.
Andras? Can you put it resolved? Thanks!
Comment 3 András Manţia 2004-02-07 09:20:56 UTC
Subject: Re:  Recursive entity escaping in VPL

Fixed by Nicolas. Nicolas, just change your e-mail address also on 
bugs.kde.org. ;-)

Andras
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQFAJJ+3TQdfac6L/08RAiH+AJ0cGWZow0xbwEip/rMirIjyv3/wxQCfZWmb
6iRYkyXN9GABJe5W0yDJay4=
=aOAN
-----END PGP SIGNATURE-----