Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FP2000: Quotes or Ampersand Around Text Within <pre> Tag Are Converted to HTML Entity


View products that this article applies to.

This article was previously published under Q219143

↑ Back to the top


Symptoms

When you type quotes or an ampersand around text within <pre> tags, FrontPage converts the quotes to:
&quot;
				

and the ampersand to:
&amp;
				

↑ Back to the top


Cause

FrontPage HTML preservation is designed to leave the HTML you enter intact. The one exception to this design is within the PRE tag. If you enter a quote
"
				
or an ampersand
&
				
symbol in HTML View within a PRE tag, it will be converted to
&quot;
				
or
&amp;
				
Because quotes are used in many instances to delimit text strings, and ampersands are a reserved character for representing other HTML entities, any quote or ampersand encountered within the text processing of the contents of a PRE tag will be converted to their HTML entities. The PRE tag is used to display preformatted text. This tag is used when you want the text you enter to be displayed in a mono-spaced font and preserve all spaces within it. Prior to the advent of HTML tables, PRE tags were most useful for creating consistent tab-delimited tables.

↑ Back to the top


More information

For more information about the specifications of HTML, please see the following World Wide Web Consortium Web site:

↑ Back to the top


Keywords: KB219143, kbprb, kbnofix

↑ Back to the top

Article Info
Article ID : 219143
Revision : 2
Created on : 7/4/2007
Published on : 7/4/2007
Exists online : False
Views : 315