in reply to Bug: Reply notifications broken in Chatterbox

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

Replies are listed 'Best First'.
Re^2: Bug: Reply notifications broken in Chatterbox
by ikegami (Patriarch) on Sep 17, 2024 at 10:19 UTC
    <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>