Open Bug 359216 Opened 18 years ago Updated 3 years ago

"Save as text" saves html code

Categories

(Core :: DOM: Serializers, defect, P5)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: florador, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0

When I have a text-type file displayed in the browser, and do a "Save as", filetype TXT, the txt is not saved as plain text.  So, instead of getting a file that looks like this:

Institution:       University of Illinois at Urbana-Champaign Library

Author:            Vermillion, Mary.

Title:             Murder by mascot / by Mary Vermillion.

Series:            Mara Gilgannon mystery

Published:         Los Angeles, Calif. : Alyson ; London : Turnaround
                      [distributor], 2006.

Physical Description:
                   266 p. ; 22 cm.

Subject (LCSH):    Murder--Investigation--Fiction.
                   Lesbians--Fiction.

Genre/Form:        Detective and mystery stories.

ISBN:              1555839169 (pbk.)

Other Identifying Number:
                   GBA595212
                   013332704

                         ______________________________

Institution:       University of Illinois at Urbana-Champaign Library

Location:          Main Stacks

Call Number:       813 V592m

==================
I'm getting a file that's looking like this:
==================
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<meta http-equiv="Content-Type" Content="text/html;charset=UTF-8">
<TITLE>WebVoyage</TITLE>
</HEAD>
<BODY onLoad="document.querybox.Search_Arg.focus()" >
<!-- Start of HTML header portion -->
<link rel="stylesheet" href="/uiu/UIU_webvoy.css">
<link rel="stylesheet" type="text/css" href="/uiu/alter.css" media="screen">
<script src="/uiu/ilcso/alter.js" type="text/javascript" ></script>
<script language="JavaScript" src="/uiu/ilcso/funcs.js"></script>
<script language="JavaScript" src="/uiu/ilcso/jumpmenu.js"></script>
<script language="JavaScript" src="/uiu/ilcso/mystrings.js"></script>
<script language=JavaScript src="/uiu/ilcso/timeout/ilcsotime.js"></script>
<script language=JavaScript> timeIt(); </script>
<CENTER>
<img src="/uiu/images/banner.gif" banner usemap="#Map" border="0">
<map name="Map">
<area shape="rect" coords="327,12,431,28" href="http://www.library.uiuc.edu" ALT="Library Gateway">
<area shape="rect" coords="433,11,547,26" href="http://www.library.uiuc.edu/services/" ALT="Hours & Locations">
<area shape="rect" coords="328,30,427,45" href="http://www.library.uiuc.edu/orr/?mode=J" ALT="E-Journals">
<area shape="rect" coords="434,29,548,44" href="http://web.library.uiuc.edu/ugl/vr" ALT="Ask A Librarian">
<area shape="rect" coords="55,9,326,47" href="http://www.library.uiuc.edu/catalog" ALT="University of Illinois Online Library Catalog">
</map>
</CENTER>
<!-- End of HTML header portion -->
<HR>
<TD><STRONG>Database Name:  </STRONG>University of Illinois at Urbana-Champaign Library</TD>
<BR>
<p class="msg">Your search failed. Please ask for assistance.</p><FORM NAME="querybox" ACTION="/uiu/cgi-bin/Pwebrecon.cgi" METHOD="GET" AUTOCOMPLETE="OFF">
  <table width="95%" border="0" align="center">
    <tr>
      <td>
       
        <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr valign=bottom>
            <td>
              <table border="0" cellspacing="0" cellpadding="0">
                <tr bgcolor="#990000" valign="center" align="center">
                  <td nowrap width="1%">
                  	<b>
                  		<font color="#FFFFFF">&nbsp;&nbsp;Simple Search</font>
                  	</b>&nbsp;&nbsp;
                  </td>
                </tr>
              </table>
            </td>
            <td>&nbsp;&nbsp;</td>
            <td>
              <table border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <th nowrap bgcolor="#CCCCFF">&nbsp;<font color="#CCFFFF">
                    &nbsp;<A STYLE="color:#CCFFFF" HREF="/uiu/cgi-bin/Pwebrecon.cgi?PAGE=bbSearch&SEQ=20061102113823&PID=l@?FdX?HsDOHd<?Fm\>H">Builder Search</a> &nbsp; </font>&nbsp;</th>
                </tr>
              </table>
            </td>
            <td>&nbsp;&nbsp;</td>
            <td>
              <table border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <th nowrap bgcolor="#CCCCFF">&nbsp;<font color="#CCFFFF">
                    &nbsp;<A STYLE="color:#CCFFFF" HREF="/uiu/cgi-bin/Pwebrecon.cgi?PAGE=rbSearch&SEQ=20061102113823&PID=l@?FdX?HsDOHd<?Fm\>H">Course Reserve</a> &nbsp; </font>&nbsp;</th>
                </tr>
              </table>
            </td>
            <td>&nbsp;&nbsp;</td>
            <td width = 96%>&nbsp; </td>
          </tr>
        </table>
		<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="100%">
          <tr bgcolor=#990000 valign=bottom> 
             <td nowrap valign="center">&nbsp;
          </tr>
          <tr bgcolor=#990000 valign=bottom> 
            <TD> 
              <table border="0">
                <tr>
							<TD align=left noWrap vAlign=top width="1%"> 
								<table border="0" cellspacing="0" cellpadding="0">
									<tr> 
										<td noWrap>
											<font color=#FFFFFF>&nbsp; 
												<b>Find this:</b>
											</font>
										&nbsp;</td>
										<td>
                          <input size=35 maxlength=100 name=Search_Arg value="">
										</td>
									</tr>
								</table>
							</TD>
							<TD align=right noWrap vAlign=top width="1%"> 
								<H4>
									<FONT color=#FFFFFF>
										<B>&nbsp;Find Results in:&nbsp;</B>
									</FONT>
								</H4>
							</TD>
							<TD align=left noWrap vAlign=top width="1%">
                      &nbsp;&nbsp;<select name="Search_Code" size="3">
                  <OPTION SELECTED VALUE="FT*">Any Word Anywhere</OPTION>
                  <OPTION VALUE="TALL">Start of Title (omit first word a, an, the)</OPTION>
                  <OPTION VALUE="JALL">Start of Journal/Magazine Title</OPTION>
                  <OPTION VALUE="NAME_">Author (last name, first name)</OPTION>
                  <OPTION VALUE="SUBJ_">Subject Headings</OPTION>
                  <OPTION VALUE="CMD">Boolean Search (use and, or, not)</OPTION>
                  <OPTION VALUE="CALL_">Call Number</OPTION>
                  <OPTION VALUE="AUTH_">Prolific Author/Composer</OPTION>
                  <OPTION VALUE="MSUD_">Government Documents Call Number</OPTION>
                  <OPTION VALUE="TITL_">Series Title</OPTION>
                      </select>
							&nbsp; </TD>
                </tr>
                <tr> 
                  <td valign="top" align="left" nowrap>&nbsp;</td>
                  <td valign="top" align="left" nowrap>&nbsp;</td>
                </tr>
              </table>
          </TR>
        </TABLE>
    <INPUT TYPE=HIDDEN NAME=PID VALUE="l@?FdX?HsDOHd<?Fm\>H">
    <INPUT TYPE=HIDDEN NAME=SEQ VALUE="20061102113823">
    <tr bgcolor=#CCCCFF valign=center> 
      <td> 
        <div align="center"> 
          <div align="center"> 
            <table align=center border="0" cellspacing="0" cellpadding="0" width="100%">
              <tr> 
                <td width="10%" align="center" valign="center" nowrap>&nbsp;
<SELECT NAME="CNT">
<OPTION SELECTED VALUE="10">10 records per page</OPTION>
<OPTION VALUE="20">20 records per page</OPTION>
<OPTION VALUE="25">25 records per page</OPTION>
<OPTION VALUE="50">50 records per page</OPTION>
</SELECT>
                  </td>
                <td noWrap width="80%"> 
                  <div align="center">
                     <INPUT TYPE=HIDDEN NAME=HIST VALUE="1">
                     <INPUT TYPE="SUBMIT" VALUE="Submit">
           </FORM>
<FORM NAME="frm" ACTION="/uiu/cgi-bin/Pwebrecon.cgi" METHOD="GET" AUTOCOMPLETE="OFF" ENCTYPE="application/x-www-form-urlencoded">
              <INPUT TYPE=HIDDEN NAME=RESET VALUE="sbSearch">
    <INPUT TYPE=HIDDEN NAME=PID VALUE="l@?FdX?HsDOHd<?Fm\>H">
              <INPUT TYPE="SUBMIT" VALUE="Clear">
               </div>
 </TD>
                <td width="10%" align="center" valign="center" nowrap>
                <div align="right"><A HREF="/uiu/cgi-bin/Pwebrecon.cgi?PAGE=lbSearch&SEQ=20061102113823&PID=l@?FdX?HsDOHd<?Fm\>H&LRP=sbSearch"><IMG SRC="/uiu/images//limit.gif" ALIGN="center" BORDER=0 ALT="Set Search Limits"></A>&nbsp;            	</td>
          	  </tr>
        	</table>
          </div>
        </div>
      </td>
    </tr>
  </table>
					<BR>

<div id="search_examples">

<table border=1 cellpadding=5 width="95%" align=center>
<tr bgcolor="#ffffff">
<td colspan=2>
<p><b><font color="#000000">Search Examples</font></b>
</p>
</td>
</tr>
<tr class="example" id="FT">
<td class="searchName" valign=top width="31%" bgcolor="#ffffff" height="70">
<p align=right><font color="#000000"><b>Any Word Anywhere</b></font></p>
</td>
<td class="searchDesc" width="69%" bgcolor="#ffffff" height="70">
<p><font color="#000000">
DO NOT use and, or, not between search terms<br>
Use the plus (+) to indicate a word must be present: <b>+alien</b><br>
Use an exclamation mark (!) to indicate that a word should not be present: <b>!migration</b><br>
To truncate, use ?: <b>statistic?</b> finds statistics, statistical, statistician<br>
To search phrases, use quotes:
<b>"civil war"</b><br>
To search for ISBNs or ISSNs, enter the number (including hypens for ISSNs):
<b>1521-4281</b><br>
The system will search for any of the words you enter, including words like "a,"
"the," and "of."  There are no "stop words."</font></p>
</td>
</tr>
<tr class="example" id="TALL">
<td class="searchName" align="right" valign=top width="31%" bgcolor="#ffffff">
<p align=right><font color="#000000"><b>Start of Title</b></p>
</td>
<td class="searchDesc" width="69%" bgcolor="#ffffff" valign="top">
<p><font color="#000000">Type the first words of the title: <b>red badge
of </b><br>
Omit beginning articles: A, An, The, Der, El, L', La, etc.</font></p>
</td>
</tr>
<tr class="example" id="JALL">
<td class="searchName" valign=top width="31%" bgcolor="#ffffff">
<p align=right><font color="#000000"><b>Start of Journal / Magazine
Title</b></font></p>
</td>
<td class="searchDesc" width="69%" bgcolor="#ffffff">
<p><font color="#000000">Type the first words of the title: <b>journal of
applied psychology</b><br>
Omit beginning articles: A, An, The, Der, El, L', La, etc.</font></p>
</td>
</tr>
<tr class="example" id="NAME_">
<td class="searchName" valign=top width="31%" bgcolor="#ffffff" align="right">
<p align=right><font color="#000000"><b>Author</b></p>
</td>
<td class="searchDesc" width="69%" bgcolor="#ffffff">
<p><font color="#000000">For individuals, enter last name first, followed
by first name, if known: <b>updike john</b><br>
Enter names of organizations or groups: <b>world health organization</b></font></p>
</td>
</tr>
<tr class="example" id="SUBJ_">
<td class="searchName" valign=top width="31%" bgcolor="#ffffff">
<p align=right><font color="#000000"><b>Subject Headings</b></font></p>
</td>
<td class="searchDesc" width="69%" bgcolor="#ffffff">
<p><font color="#000000">Use Library of Congress Subject Headings: <b>elections
united states</b><br>
or Medical Subject Headings: <b>brain anatomy</b></font></p>
</td>
</tr>
<tr class="example" id="CMD">
<td class="searchName" valign=top width="31%" bgcolor="#ffffff">
<p align=right><font color="#003366"><b><font color="#000000">Boolean</font></b></font></p>
</td>
<td class="searchDesc" width="69%" bgcolor="#ffffff">
<p><font color="#000000">To combine search terms, you must use: <b>and</b>,
<b>or</b>, <b>not</b> between your search terms<br>
To truncate, use <b>?</b>: <b>child?</b> finds child, children, childhood,
etc.<br>
To search phrases, use quotes: <b> "french revolution"</b><br>
To group terms, <a href="../help/oprorder.htm"><font color="9c0000">use parentheses</font></a>: <b>(child? or teen?) and "learning disabilities"</b><br>
To limit your search further, use <a href="../help/fieldcodes.htm"><font color="9c0000">field codes</font></a>.</font></p>
</td>
</tr>
<tr class="example" id="CALL_">
<td class="seachName" valign=top width="31%" bgcolor="#ffffff">
<p align=right><font color="#000000"><b>Call Number</b></font></p>
</td>
<td class="searchDesc" width="69%" bgcolor="#ffffff">
<p><font color="#000000">Enter as much of the call number as you know, including
punctuation: <b>ps3537.t32</b></font></p>
</td>
</tr>
<tr class="example" id="AUTH_">
<td class="searchName" valign=top width="31%" bgcolor="#ffffff">
<p align=right><font color="#000000"><b>Prolific Author/Composer</b></font></p>
</td>
<td class="searchDesc" width="69%" bgcolor="#ffffff">
<p><font color="#000000">To search for musical works by composer, enter
last name first: <b>mozart w</b><br>
To search for works by prolific authors, enter last name first: <b>shakespeare</b></font></p>
</td>
</tr>
<tr class="example" id="MSUD_">
<td class="searchName" valign=top width="31%" bgcolor="#ffffff">
<p align=right><font color="#000000"><b>Gov Docs Call Number</b></font></p>
</td>
<td class="searchDesc" width="69%" bgcolor="#ffffff">
<p><font color="#000000">Enter as much of the Goverment Documents ca
ll number as you know, with all
punctuation and no spaces: <b>C3.134/2:</b>
</font></p>
</td>
</tr>
<tr class="example" id="TITL_">
<td class="searchName" valign=top width="31%" bgcolor="#ffffff">
<p align=right><font color="#000000"><b>Series Title</b></fon
t></p>
</td>
<td class="searchDesc" width="69%" bgcolor="#ffffff">
<p><font color="#000000">Type the first words of a book (monograph)
series title for a listing of the individual volumes in the series.<br>
Omit beginning articles: A, An, The, Der, El, L', La, etc.<br>
Examples:<br>
<b>Lecture Notes in Physics</b><br>
<b>Methods in Enzymology</b><br>
<b>Lord of the Rings</b><br>
<b>Nancy Drew mystery stories</b><br>
<b>Acta Horticulturae</b><br>
<b>Annals of the New York Academy of Sciences </b><br>
</font></p>
</td>
</tr>
</table>

<p style="clear:both;"></p>
<p>&nbsp;</p>

<p>
<table border=1 cellpadding=5 width="95%" align=center>
<tr bgcolor="#ffffff">
<td colspan=2 width="100%">
<p><font color="#000000"><b><font color="#003921">Limits</font></b></p>
</td>
</tr>
<tr bgcolor="#ffffff">
<td valign=top width="20%">
<p align=right><font color="#000000"><b>Quick Limits</b></font></p>
</td>
<td width="80%">
<p><font color="#000000"> Can <b>only</b> be used with Boolean, title, and
Any Word Anywhere searches.<br>
These limits are retained between searches.<br>
<b>Quick Limits</b> cannot be used with limits from the <b>More Limits</b> page.</font></p>
</td>
</tr>
<tr bgcolor="#ffffff">
<td valign=top width="20%">
<p align=right><font color="#000000"><b>More / Change Limits</b></font></p>
</td>
<td width="80%">
<p><font color="#000000"> Can <b>only</b> be used with Boolean, title, and
Any Word Anywhere.<br>
Use to restrict searches to certain years, languages, types, media,
or locations.<br>
Use to apply one or more limits to a search.<br>
These limits are retained between searches until removed by the user.<br>
Limits from the <b>More Limits</b> page cannot be used with <b>Quick Limits.</b></font></p>
</td>
</tr>
</table>

</div>


<HR>
</P>
</FORM>
</BODY>

<!-- Start of HTML footer portion -->
<p>&nbsp;</p>
<p>&nbsp;</p>
<hr>
<center>
<p>Comments on the Library Catalog may be sent to: <a href="mailto:catalog@library.uiuc.edu">catalog@library.uiuc.edu</a></p>
<table size="100%" border="0" cellpadding="0" cellspacing="2">
<tr>
<td align="left">
<a href="http://www.carli.illinois.edu">
<img src="/uiu/images/carli_logo.gif" border="0">
</a>
</td>
<td>&nbsp;&nbsp;</td>
<td align="center">
<p align="left" style="margin-top:0;margin-left:30;margin-right:30">
I-Share includes the resources of 65 Illinois libraries belonging to CARLI,
the <a href="http://www.carli.illinois.edu">Consortium of Academic & Research
Libraries in Illinois</a>.
</p>
<p align="left" style="margin-top:0;margin-left:30;margin-right:30">
Need help searching I-Share?
See the <a href="/uiu/help/contents.htm">Help pages</a>
or <a href="http://office.ilcso.illinois.edu/fm/directory/searchcirc.htm">contact your library</a>
for assistance.
</p>
<p align="left" style="margin-top:0;margin-left:30;margin-right:30">
<a href="http://office.ilcso.illinois.edu/About/ilcsolibs.html">List of I-Share Libraries</a>
&nbsp;|&nbsp;
<a href="http://office.ilcso.illinois.edu/About/ilcsolibs_map.html">Map of I-Share Libraries</a>
&nbsp;|&nbsp;
<a href="http://i-share.carli.illinois.edu">Search the catalog of a particular I-Share library</a>
</p>
</td>
</tr>
</table>
</center>

<script language="javascript">
do_footer_funcs();
</script>
<script language=javascript> f0('j0'); </script>

<!-- End of HTML footer portion -->
</HTML>



=============================
THis is causing problems when I'm trying to import the records into a bibliographic management program such as RefWorks.

Reproducible: Always
Component: Menus → Serializers
OS: Windows Server 2003 → All
Product: Firefox → Core
QA Contact: menus → dom-to-text
Hardware: x86 → All
Not sure if this is the correct home, but Firefox | Menus certainly wasn't it.

Gerv
I'm working on this bug

Johan

Bulk-downgrade of unassigned, >=3 years untouched DOM/Storage bug's priority.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: major → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: