Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

This is odd. I see the following markup (with a few line breaks added inside of tags to make it easier to read:

<p class="code"><div class='codeblock'><tt class='codetext'><font size +="-1">my $message=&quot;Hello world\n&quot;;<br /> print $message;<br /> </font></tt></div><font size='-1'><div class='embed-code-dl' ><a href="?part=1;abspart=1;displaytype=displaycode;node_id=487248" >&#91;download&#93;</a></div></font></p>

I thought it might be a glitch in the HTML cleaning code we have, but it doesn't appear to be so. Likewise I've inspected the code and I dont see how the html youv'e posted could be generated. Since I can't repeat the bug I'm not sure how to proceed with this.

What browser are you using?

Update: I've worked it out. The problem was nesting a div inside of a p is apparently illegal, so if you had CSS keyed on the p tag it would show up as _though_ it was an empty p block even thought it wasnt really. Ive changed things so that when p tags are used the internal sections are spans and not divs. From what i can tell this sorts it all out. I also checked the Perl-Blue scheme and it seems to look fine.

---
$world=~s/war/peace/g


In reply to Re^2: More ways to download code... by demerphq
in thread More ways to download code... by demerphq

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others wandering the Monastery: (14)
    As of 2014-10-30 12:38 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      For retirement, I am banking on:










      Results (207 votes), past polls