Ticket #6827 (closed bug: wontfix)
Inconsistent behaviour in .text() on script elements
|Reported by:||WouterTinus||Owned by:|
When the .text() function is called on a script element, IE8 returns an empty string . Firefox, Opera and Chrome (latest versions) do however return the content. IE8 has no problem accessing the desired output through its .innerHTML property.
(Reason for filing this bug: we are using <script type="text/html"> tags to hide our rendering templates from the likes of the W3C validator and Google).
comment:1 Changed 5 years ago by dmethvin
- Summary changed from Inconsistant behaviour in .text() to Inconsistent behaviour in .text() on script elements
comment:4 Changed 5 years ago by snover
- Priority set to undecided
- Resolution set to wontfix
- Status changed from new to closed