bugBKChem - Bugs: bug #20532, & and < is not converted...


bug #20532: & and < is not converted properly inside font-decoration tags

Submitter:  René Genz <sobek>
Submitted:  Thu 19 Jul 2007 10:21:40 AM UTC
Category:  None Severity:  3 - Normal
Item Group:  general Status:  In Progress
Privacy:  Public Assigned to:  beda
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup

Mon 30 Jul 2007 06:52:36 AM UTC, comment #2: 

All the entered text is run through an XML parser internally and if it gives an error all the text is escaped. I will need to have a look at it to find a clever way to get around this.
Thanks for the bugreport.

Beda Kosata <beda>
Group administrator
Thu 19 Jul 2007 10:27:35 AM UTC, comment #1: 

== workaround for < ==
type manually &lt;

René Genz <sobek>
Thu 19 Jul 2007 10:21:40 AM UTC, original submission:  

==How to reproduce==
start BKchem 0.12.0_pre2
select Texttool
LMB on the sheet, type &, press enter => & sign shows corectly
LMB on the sheet, use any font-decoration option (bold, italic, subscript, supcript) for example bold and type &, press enter => shows "&lt;b&gt;&amp;&lt;/b&gt;" instead of &

The same problem applies to <
Occurs on windows and linux python 2.4 and 2.5.

This does not occur, if you enter "&amp;" inside the tag manually instead of &

Seems like BKchem converts the opening and closing brackets (<, >) along with the & to ISO-codes.

René Genz <sobek>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by beda (Posted a comment)
  • -email is unavailable- added by sobek (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-07-30 beda StatusNone In Progress
        Assigned toNone beda

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code