diff --git a/openbsd.app.pl b/openbsd.app.pl index ef508cc..a458c0a 100755 --- a/openbsd.app.pl +++ b/openbsd.app.pl @@ -89,8 +89,8 @@ SELECT substr('..........',1,level*3) || name FROM under_port; my $title = "OpenBSD.app"; my $descr = "OpenBSD package search"; -sub markdown($str) { - $str =~ s/\*\*(.+)\*\*/$1<\/strong>/g; +sub markdown ($str) { + $str =~ s/\*\*(\w+)\*\*/$1<\/strong>/g; $str =~ s/\n/
/g; return $str; }