Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

[Solved] Node renders differently when logged in vs. logged out

by haukex (Archbishop)
on Jun 20, 2020 at 16:57 UTC ( [id://11118275]=monkdiscuss: print w/replies, xml ) Need Help??

Update: This paragraph is a test to see if I can reproduce it. italic ... Yep, confirmed.

Solution: "Enforce proper nesting of HTML" in Display Settings. D'oh!

The node 11115734 contains an unclosed <i> in the "EDIT" at the top. However, the HTML for this node differs depending on whether I am logged in vs. logged out. When logged in, it's

<p> <b>EDIT:</b> <br /> I <strike>use</strike> <i>used</i> bareword filehandles. <i>In the course of this discussion I was convinced not to do so.<i> </i></i></p>

But when logged out, it's

<p> <b>EDIT:</b> <br /> I <strike>use</strike> <i>used</i> bareword filehandles. <i>In the course of this discussion I was convinced not to do so.<i> </p>

What's going on? Of course the "fix" is to correct the unclosed <i>, but I'm surprised at the rendering difference.

Replies are listed 'Best First'.
Re: Node renders differently when logged in vs. logged out
by LanX (Saint) on Jun 20, 2020 at 17:44 UTC
    what I see in the XML of that node is that the closing i-tag is missing a slash

    >  I was convinced not to do so.<i> </p> <p> I've seen many Perl

    The automatically included closing tags are IMHO an auto-correction from FF, closing all <i> prior to the closing </p> and then reopening them again.

    <i>In the course of this discussion I was convinced not to do so.<i> </i></i></p><i><i> <p>

    The effect is the same for me logged in or out.

    But you may want to check your "HTML Related Options" settings in Display Settings

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

      But you may want to check your "HTML Related Options" settings in Display Settings

      Ah, yes, that was it, thanks! Right after posting I had the feeling that this was probably a dumb question :-) I have "Enforce proper nesting of HTML" turned on.

Re: Node renders differently when logged in vs. logged out
by jo37 (Deacon) on Jun 21, 2020 at 07:09 UTC

    Corrected node 11115734. The error was not visible in the node's preview.

    Greetings,
    -jo

    $gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$

        That was already set to 4.

        Greetings,
        -jo

        $gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://11118275]
Approved by Perlbotics
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-03-29 07:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found