parent
b3aa917685
commit
f6da1a798f
@ -89,8 +89,8 @@ SELECT substr('..........',1,level*3) || name FROM under_port;
|
|||||||
my $title = "OpenBSD.app";
|
my $title = "OpenBSD.app";
|
||||||
my $descr = "OpenBSD package search";
|
my $descr = "OpenBSD package search";
|
||||||
|
|
||||||
sub markdown($str) {
|
sub markdown ($str) {
|
||||||
$str =~ s/\*\*(.+)\*\*/<strong>$1<\/strong>/g;
|
$str =~ s/\*\*(\w+)\*\*/<strong>$1<\/strong>/g;
|
||||||
$str =~ s/\n/<br \/>/g;
|
$str =~ s/\n/<br \/>/g;
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user