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

 
 

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

Submitted by:  René Genz <sobek>
Submitted on:  Thu 19 Jul 2007 10:21:40 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: generalStatus: In Progress
Privacy: PublicAssigned to: Beda Kosata <beda>
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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.

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

==guess==
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 30 Jul 2007 06:52:36 AM UTCbedaStatusNone=>In Progress
      Assigned toNone=>beda

    Back to the top


    Powered by Savane 3.1-cleanup