Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Rendering problem

by Athanasius (Chancellor)
on Jun 13, 2017 at 06:55 UTC ( #1192658=monkdiscuss: print w/replies, xml ) Need Help??

There appears to be a problem in rendering the title of the nodes in the thread Why does widget->destroy give the error Tk::Error widget was deleted before its visibility changed? Instead of rendering like this:

| Poetry | Recent Threads | Newest Nodes | Donate | What's New

the links at the top right of the page have erroneous text added:

| Poetry | Recent Threads | Newest Nodes | Donate | What's New destroy + give the error Tk::Error widget was deleted before its visibility ch +anged? NODE.owner = 193692 N.title = monktitlebar sitedoclet N.owner = 17342 -->

The added text also appears at the end of the Cabalists’, Find Nodes, Settings, and Leftovers Nodelets.

The rendering problem is common to all the nodes in the thread, so presumably the arrow in the node title is the trigger? I see the problem on both Chrome and Firefox1, whether I’m logged in or viewing anonymously.

1Update: and Internet Explorer.

Cheers,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Replies are listed 'Best First'.
Re: Rendering problem
by Corion (Pope) on Jun 13, 2017 at 07:42 UTC

    I've now enabled the navigation bar in my settings and can reproduce the problem. It was as I thought, the title is embedded in the (output of the code generating the) navigation bar and the --> happens to end the HTML comment as the --> is not escaped.

    I've "fixed" the problem by changing the node title from --> to ->. The long term fix is to make the (debug) comment escape --> properly.

Re: Rendering problem
by Corion (Pope) on Jun 13, 2017 at 07:20 UTC

    I can't reproduce your problem, but it has likely something to do with your specific title bar setup.

    I imagine the --> gets embedded unencoded in the HTML and happens to close an HTML comment early, which then messes up the layout etc.

      I saw it too on that thread. (image)

      Note: image will not be up forever. Please let me know when it is no longer needed. Thanks!

      No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
      Lady Aleena

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://1192658]
Approved by beech
help
Chatterbox?
LanX .oO( cemetery breweries ? )

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2017-12-15 11:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (431 votes). Check out past polls.

    Notices?