*** empty log message ***

This commit is contained in:
Alex Schroeder
2008-01-03 00:59:56 +00:00
parent fec574fd5c
commit cb96ff7177
2 changed files with 10 additions and 4 deletions

View File

@@ -11,6 +11,11 @@
* modules/csv.pl (CsvRule): Add csv class.
2007-12-15 Alex Schroeder <alex@gnu.org>
* wiki.pl (GetFooterLinks, GetCommentForm): Use the parameter $id
instead of the global $OpenPageName.
2007-12-14 Alex Schroeder <alex@gnu.org>
* wiki.pl (GetHtmlHeader, GetRobots, GetFeeds, InitVariables):

View File

@@ -13,14 +13,15 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
$ModulesDescription .= '<p>$Id: numbered-list.pl,v 1.1 2007/12/26 17:22:46 as Exp $</p>';
$ModulesDescription .= '<p>$Id: numbered-list.pl,v 1.2 2008/01/03 01:01:00 as Exp $</p>';
push(@MyRules, \&NumberedListRule);
sub NumberedListRule {
# numbered lists using # copied from usemod.pl
if ($bol && m/\G(\s*\n)*(\#+)[ \t]/cog
or InElement('li') && m/\G(\s*\n)+(\#+)[ \t]/cog) {
# numbered lists using # copied from usemod.pl but allow leading
# whitespace
if ($bol && m/\G(\s*\n)*\s*(\#+)[ \t]/cog
or InElement('li') && m/\G(\s*\n)+\s*(\#+)[ \t]/cog) {
return CloseHtmlEnvironmentUntil('li')
. OpenHtmlEnvironment('ol',length($2))
. AddHtmlEnvironment('li');