]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
view: fix mismatched quote in HTML
authorFilip Hejsek <filip.hejsek@gmail.com>
Fri, 6 Sep 2024 21:06:11 +0000 (23:06 +0200)
committerEric Wong <e@80x24.org>
Fri, 6 Sep 2024 22:00:07 +0000 (22:00 +0000)
Fixes: 5ca29b7f2789517f (view: reduce ascii_html calls and {obuf} use, 2022-09-10)
lib/PublicInbox/View.pm

index 131727fc1880a5808c0975c33f36d565205bf5ec..bc093a20180bfbaf1555fa3bb8f24bf7dfca4470 100644 (file)
@@ -726,7 +726,7 @@ href="d/">diff</a>)</pre><pre>];
                $hbuf .= qq{\t<a\nhref="#r">[thread overview]</a>\n};
                $hbuf =~ s!^Subject:\x20(.*?)(\n[A-Z]|\z)
                                !Subject: <a\nhref="#r"\nid=t>$1</a>$2!msx or
-                       $hbuf .= qq(<a\nhref="#r\nid=t></a>);
+                       $hbuf .= qq(<a\nhref="#r"\nid=t></a>);
        }
        if (scalar(@$mids) == 1) { # common case
                my $x = ascii_html($mids->[0]);