Fixes https://java.net/jira/browse/JAVASERVERFACES-3145, back port issue #2526 to 2.1 branch.

git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12777 761efcf2-d34d-6b61-9145-99dcacc3edf1
http://java.net/jira/browse/JAVASERVERFACES-3150

Backport to 2.1.x at reporter's kind request.


SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/renderkit/html_basic/HtmlResponseWriter.java

- in endElement(String), force dontEscape to false after writing the
  script, element, if any.



git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12798 761efcf2-d34d-6b61-9145-99dcacc3edf1
 http://java.net/jira/browse/JAVASERVERFACES-3150


SECTION: Modified Files
----------------------------
M       jsf-ri/src/main/java/com/sun/faces/renderkit/html_basic/HtmlResponseWriter.java

- reverting due to failure of com.sun.faces.test.agnostic.ajax.Issue2443IT.testQuotesInScript



git-svn-id: https://svn.java.net/svn/mojarra~svn/branches/MOJARRA_2_1X_ROLLING@12800 761efcf2-d34d-6b61-9145-99dcacc3edf1