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).
- Summary changed from Inconsistant behaviour in .text() to Inconsistent behaviour in .text() on script elements
- Priority set to undecided
- Status changed from new to closed
- Resolution set to wontfix