List markup
This commit is contained in:
parent
61cf2b9150
commit
1abb52c99a
1
II/T.pm
1
II/T.pm
@ -169,6 +169,7 @@ sub pre {
|
||||
$post =~ s/.?\*(.+)\*.?/ <b>$1<\/b> /g;
|
||||
$post =~ s/^$/<br>\n/g;
|
||||
$post =~ s/(.?)\n/$1<br>\n/g;
|
||||
$post =~ s/\*(.+)/<li>$1<\/li>\n/g;
|
||||
$post
|
||||
=~ s/(https?:\/\/.+\.(jpg|png|gif))/<a href="$1"><img src="$1" width="15%" height="15%" \/><\/a>/g;
|
||||
$post
|
||||
|
@ -56,6 +56,9 @@ padding-bottom: 0.15em;
|
||||
margin-top: -0.8em;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
.post li {
|
||||
margin-left: 1.5em;
|
||||
}
|
||||
.headall {
|
||||
text-align: center;
|
||||
display: block;
|
||||
|
Loading…
Reference in New Issue
Block a user