Reply notifications are broken in the Chatterbox.

screenshot

  • Comment on Bug: Reply notifications broken in Chatterbox

Replies are listed 'Best First'.
Re: Bug: Reply notifications broken in Chatterbox
by LanX (Saint) on Sep 17, 2024 at 09:49 UTC
    Could you please share the HTML of the message inside code blocks?

    I found the patch causing the problem (after long searching), but can't figure out what's going wrong without more data.

    And an image on imgur is not optimal.

    I can only guess it's a matter of escaping the message.

    I could manually hack some s/// to do that, but I'm sure there is already a custom routine for that somewhere, which should be used for better maintenance.

    Update

    My best bet so far is using encodeHTML($shortened_msg,1)

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

      <span class="msgfrom_113"> <i class="msgfrom" title="Sep 16, 2024 at 19:56&nbsp;ADT"><a href="? +node_id=113">root</a> says</i> You've got a reply to [id://11161761|Re^ 3: <a href="?node=XS">XS</a +> :...] from <a href="?node_id=481763">tonyc</a> at <a href="?node_id +=11161780">Re^4: [XS] : "snprintf" portability options</a><!-- --> </span>
Re: Bug: Reply notifications broken in Chatterbox
by LanX (Saint) on Sep 16, 2024 at 17:58 UTC
    Yes the new shortening feature is failling in the case of non-balanced included brackets.

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