Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Group: Latest code in SVN
Submitted By: Julien HENRY (henryju)
Assigned to: Nobody/Anonymous (nobody)
Summary: <script> tag asText should be empty
I have a page with a simple script that use
document.write. When I call myPage.asText(), I'm
expecting to get only what was written by the
document.write(), but it seems that the content of the
<script> is also dumped.
Comment By: Marc Guillemot (mguillem)
Date: 2006-10-30 16:01
Logged In: YES
I would find it more logical if <script>.astText() always
returns an empty string. In a browser you don't see anything
of a script tag. If the contained script added some content
in the page, then the asText() of this content will show it.
Does it make sense for you?