Dojo Dijit and HTML5 in Real world applications/Dijit/Double and single quotes in HTML5 dijits: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==HTML5 dijit== You must be very careful with the use of Double and single quotes in HTML5 dijits. Especially if you get the text output from a database or user interface. All u...") |
|||
Line 2: | Line 2: | ||
You must be very careful with the use of Double and single quotes in HTML5 dijits. | You must be very careful with the use of Double and single quotes in HTML5 dijits. | ||
Especially if you get the text output from a database or user interface. All user inputs and database sources must be escaped both to the Java Script (\" and \') and for the HTML style | Especially if you get the text output from a database or user interface. All user inputs and database sources must be escaped both to the Java Script (\" and \') and for the HTML style: & q u o t ; and & # 0 3 9 ;(Remove the spaces between the charters). | ||
===Verified in=== | ===Verified in=== | ||
IE 8, Firefox 3.6.22, Dojo 1.6.1 | IE 8, Firefox 3.6.22, Dojo 1.6.1 | ||
==References== | ==References== |
Revision as of 19:50, 6 November 2011
HTML5 dijit
You must be very careful with the use of Double and single quotes in HTML5 dijits.
Especially if you get the text output from a database or user interface. All user inputs and database sources must be escaped both to the Java Script (\" and \') and for the HTML style: & q u o t ; and & # 0 3 9 ;(Remove the spaces between the charters).
Verified in
IE 8, Firefox 3.6.22, Dojo 1.6.1