about summary refs log tree commit homepage
path: root/lib/PublicInbox/ExtMsg.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-01-09 09:45:20 +0000
committerEric Wong <e@80x24.org>2016-01-09 09:46:36 +0000
commit0bcf715b7ef1e51bf05eeb46b066be8a762e13aa (patch)
treed31007440609d126343dd426d772ee44fced176b /lib/PublicInbox/ExtMsg.pm
parenteda227b874f4c0bedc2a7c7244c29e07deac0832 (diff)
downloadpublic-inbox-0bcf715b7ef1e51bf05eeb46b066be8a762e13aa.tar.gz
Not needed, but this is good documentation.  Some of these values
should never have newlines.
Diffstat (limited to 'lib/PublicInbox/ExtMsg.pm')
-rw-r--r--lib/PublicInbox/ExtMsg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/ExtMsg.pm b/lib/PublicInbox/ExtMsg.pm
index a56df335..98da45cc 100644
--- a/lib/PublicInbox/ExtMsg.pm
+++ b/lib/PublicInbox/ExtMsg.pm
@@ -124,7 +124,7 @@ again:
                 foreach my $pfx (@partial) {
                         my $u = $pfx->{url};
                         foreach my $m (@{$pfx->{res}}) {
-                                my $p = PublicInbox::Hval->new($m);
+                                my $p = PublicInbox::Hval->new_msgid($m);
                                 my $r = $p->as_href;
                                 my $t = $p->as_html;
                                 $s .= qq{<a\nhref="$u/$r/">$u/$t/</a>\n};