Changeset 13747 for dijit

Show
Ignore:
Timestamp:
05/15/08 21:57:20 (3 months ago)
Author:
bill
Message:

Fix problem where you type a quote in the edit mode, then save, then edit again... quote shows up as &quot in editor.

Fixes #6592.
!strict

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/InlineEditBox.js

    r13547 r13747  
    133133                                (this.renderAsHtml ? 
    134134                                this.value : 
    135                                 this.value.replace(/\s*\r?\n\s*/g,"").replace(/<br\/?>/gi, "\n").replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&amp;/g,"&")); 
     135                                this.value.replace(/\s*\r?\n\s*/g,"").replace(/<br\/?>/gi,"\n").replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&amp;/g,"&").replace(/&quot;/g,"\"")); 
    136136 
    137137                // Placeholder for edit widget