-
Type:
Bug
-
Status: Closed
-
Resolution: Won't Fix
-
Affects Version/s: 6.1.1 CE GA2
-
Fix Version/s: 6.1.1 CE GA2
-
Environment:tomcat bundle
Hi Everyone,
Check the following code snippet :
<div id="cd">
<h5>Hello ${theTitle} </h5>
</div>
<script>
var ob2 = document.getElementById("cd");
alert(ob2.innerHTML);
</script>
Write the above code in .jsp of any portlet in Liferay 6.0 and prior. You will see that the complete innerHTML is shown in the alert i.e. <h5>Hello ${theTitle}</h5>. Now write the same in Liferay 6.1 GA2. You will notice that the entire thing written in ${......} is stripped including the $ and brace brackets. The alert will print only <h5>Hello</h5>