Bug rendering <p> tags around <pre> or <code> tags

Name:    Tim Robinson
Email:   tcr1272atgmaildotcom
Product: Firefox
Summary: Bug rendering <p> tags around <pre> or <code> tags

Comments: 
Two Examples below, both render the <p> tags differently and incorrectly.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <body>
    <p>
     <pre>
       <div>
         my text 
       </div> 
     </pre>
    <p>
  <body>
<html>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <body>
    <p>
     <code>
       <div>
         my text 
       </div> 
     </code>
    <p>
  <body>
<html>

Browser Details: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.41 Safari/534.7
From URL: http://hendrix.mozilla.org/

Note to readers: Hendrix gives no expectation of a response to this feedback 
but if you wish to provide one you must BCC (not CC) the sender for them to 
see it.
0
Tim
10/23/2010 4:34:06 AM
mozilla.feedback.firefox 118463 articles. 8 followers. Post Follow

0 Replies
1020 Views

Similar Articles

[PageSpeed] 44
Get it on Google Play
Get it on Apple App Store

Reply:

Similar Artilces:

How to strip a string of <html>, ,</html>, <body>, </body>, <form ... >, </form> tags?
I have stream which is the HTML input of a page. Now I want to use only that part of this page, that is within <form .....> and </form> tags, and excluding these tags.How would I go about stripping <html>, ,</html>, <body>, </body>, <form ... >, </form>, <head> and </head> tags? I have to make sure that <head ...javascript..> and its corresponding </head> tags are not stripped in this process.sun21170    Wait... you said you wanted to strip the head tags, and you're also saying you need to NOT strip the ...

How to remove <p> and <b> and <i> tags
Hi, I have some text in the database which has Html tags. I want that when I display the data the tags are removed.HighOnCodingWanna get high! You might consider called Server.HtmlEncode(data) on the rows to convert the html to characters that will be displayed in the browser.--Brian DesmondWindows Server MVP - Directory Serviceshttp://www.briandesmond.com Hi, Thanks for the Quick reply. Well now its displaying something like this: " &lt;P&gt;&lt;P&gt; &lt;i&gt;&lt;P&gt;if( dr.Read())&lt;P&gt;&lt;P&gt;{&lt;P&am...

Adding run-time created <li></li> tags inbetween <ul>/ul> tags
I want to create a custom control which will create a unordered list and fill it with list items of which will be created at run-time. Currently I am using the following logic: At my Default.aspx page:<ai:ul_adder ID="ul_adder1" ListItemString="Page1 1,sf1.aspx,image/edit.gif; Page 2,sf2.aspx,image/colaps.gif" runat="server"/>and at the ul_adder.ascx file 1 public string ListItemString 2 { 3 set 4 { 5 string[] itemlist = value.Split(';'); 6 7 for (int i = 0; i < itemlist.Length; i++) 8 ...

>>>> Heads up <<<<
I just got a warning from Norton that "PamelaSetup-Basic.exe" has a virus in it. The name is "VirusBurst" Luckily, I did not install this software and Norton's quarantined it so I could delte it, which I have done. Symantec has not completed analysis of this particular piece of garbage but it did catch the sig. If you have installed Pamela, you may be in trouble. Duffy wrote: > I just got a warning from Norton that "PamelaSetup-Basic.exe" has a virus > in it. The name is "VirusBurst" > > Luckily, I did not install...

superreview granted: [Bug 238989] whitespace after a </b> tag is ignored when enclosed inside <fieldset></fieldset> tags : [Attachment 145302] This should fix it
Peter Van der Beken <peterv@propagandism.org> has granted Boris Zbarsky <bzbarsky@mit.edu>'s request for superreview: Bug 238989: whitespace after a </b> tag is ignored when enclosed inside <fieldset></fieldset> tags http://bugzilla.mozilla.org/show_bug.cgi?id=238989 Attachment 145302: This should fix it http://bugzilla.mozilla.org/attachment.cgi?id=145302&action=edit ------- Additional Comments from Peter Van der Beken <peterv@propagandism.org> Fine by me, although I don't really understand why we'd want kOmitWS at all. ...

superreview requested: [Bug 238989] whitespace after a </b> tag is ignored when enclosed inside <fieldset></fieldset> tags : [Attachment 145302] This should fix it
Boris Zbarsky <bzbarsky@mit.edu> has asked Peter Van der Beken <peterv@propagandism.org> for superreview: Bug 238989: whitespace after a </b> tag is ignored when enclosed inside <fieldset></fieldset> tags http://bugzilla.mozilla.org/show_bug.cgi?id=238989 Attachment 145302: This should fix it http://bugzilla.mozilla.org/attachment.cgi?id=145302&action=edit ------- Additional Comments from Boris Zbarsky <bzbarsky@mit.edu> So the problem here was that <fieldset> was marked as a tag which is allowed to discard all direct child whitespace...

Inline tags...<%=%>, <%# %>, <%$ %> ....etc...
I come from a classic ASP background, so I know what <%= [string] %> means...but what about:  <%# expression %> and <%$ expression %>  --------------- I've seen <%# expression %> used mainly in databinding (<%# Bind("employeename") %>) for a TemplateField but am not sure exactly what it means (though I know what it does). I would think that <%= and <%# are synonymous but it seems they are not. <%$ expression %> I've only seen in an SqlDataSource when setting the ConnectionString attribute to: <%$ ConnectionStri...

>>>> ROOT Exploit in SAMBA <<<<<<
"A flaw has been detected in the Samba main smbd code which could allow an external attacker to remotely and anonymously gain Super User (root) privileges on a server running a Samba server. This flaw exists in previous versions of Samba from 2.0.x to 2.2.7a inclusive. This is a serious problem and all sites should either upgrade to Samba 2.2.8 immediately or prohibit access to TCP ports 139 and 445." http://us3.samba.org/samba/samba.html Binaries are available from Samba for RedHat, and some other distributions. So far as I can tell, the RedHat update mirrors I norm...

superreview requested: [Bug 48376] all inline element end tags (e.g. </code>, </tt>) in <dl> eats up whitespace after it : [Attachment 145376] Fix
Boris Zbarsky <bzbarsky@mit.edu> has asked Heikki Toivonen <hjtoi-bugzilla@comcast.net> for superreview: Bug 48376: all inline element end tags (e.g. </code>, </tt>) in <dl> eats up whitespace after it http://bugzilla.mozilla.org/show_bug.cgi?id=48376 Attachment 145376: Fix http://bugzilla.mozilla.org/attachment.cgi?id=145376&action=edit ...

superreview requested: [Bug 48376] [FIX]all inline element end tags (e.g. </code>, </tt>) in <dl> eats up whitespace after it : [Attachment 145376] Fix
Boris Zbarsky <bzbarsky@mit.edu> has asked Peter Van der Beken <peterv@propagandism.org> for superreview: Bug 48376: [FIX]all inline element end tags (e.g. </code>, </tt>) in <dl> eats up whitespace after it http://bugzilla.mozilla.org/show_bug.cgi?id=48376 Attachment 145376: Fix http://bugzilla.mozilla.org/attachment.cgi?id=145376&action=edit ...

superreview granted: [Bug 48376] [FIX]all inline element end tags (e.g. </code>, </tt>) in <dl> eats up whitespace after it : [Attachment 145376] Fix
Peter Van der Beken <peterv@propagandism.org> has granted Boris Zbarsky <bzbarsky@mit.edu>'s request for superreview: Bug 48376: [FIX]all inline element end tags (e.g. </code>, </tt>) in <dl> eats up whitespace after it http://bugzilla.mozilla.org/show_bug.cgi?id=48376 Attachment 145376: Fix http://bugzilla.mozilla.org/attachment.cgi?id=145376&action=edit ------- Additional Comments from Peter Van der Beken <peterv@propagandism.org> What choess said :-). ...

Use of <code>, <var>, <kbd>, and <samp>
Is there any policy as to whether <code>, <var>, <kbd> and <samp> can all be used, and if so, whether they should only be used for XUL, etc. or other code documented at the site, or whether they can also be used to refer to code which is not intended as the subject of any documentation, but which is used as an example. For example, the template tutorial indicates that <content>'s @uri attribute can be set to any variable name, such as "?start" or "?uri". Could these be referenced with <var> too, or is it the policy to co...

>>>> CAPITALS GAMES <<<<
.. ~~~!!!~~~ ================================================== ================================================== CLICK HERE TO ENTER: >>> http://web-paradise.cn/3/capitals-games <<< ================================================== ================================================== .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ....

C<< >> vs C<< >> vs C<< x >>
Ugh. So we all know that there's this syntax for formatting codes (n=E9s "interio= r sequences") like C<< x >>. And that tokenizes as three tokens: "C<< ", open-C code "x", content " >>" close-code matching the C open-code And this is explicated by what I wrote in perlpodspec where I say that such a code... * starts with a capital letter (just US-ASCII [A-Z]) followed by two or more "<"'s, one or more whitespace characters, * any number of characters * one or more whit...

Web resources about - Bug rendering <p> tags around <pre> or <code> tags - mozilla.feedback.firefox

Resources last updated: 1/20/2016 2:46:36 AM