Alex Schroeder
a5d33ac6af
markup.pl: link English documentation
2014-08-24 21:31:00 +02:00
Alex Schroeder
e6d3ad8382
Fixed typo in AddModuleDescription sub name
2014-08-21 22:23:23 +02:00
Alex Schroeder
17bd795ef0
Automatically reformatted modules
2014-08-21 07:29:46 +03:00
Alex Schroeder
dbcfc02d82
Handle markup singles before handling forced pairs.
2013-04-12 22:59:50 +02:00
Alex Schroeder
ab624787c4
Changed \x{ffff} to \x{fffd} in all regular expressions.
...
Using Perl 5.8.8 resulted in a crash when compiling regular expressions referring to \x{ffff}.
2012-07-19 06:01:30 -04:00
Alex Schroeder
1495a29fd3
More UTF-8 fixes
...
All the source files containing non-ASCII characters needed to have
utf8 added. This will be necessary for user config files as well! The
regular expressions identifying page names had to be changed.
UrlEncode translates the string back to bytes before encoding it.
Cached RSS files are saved with UTF-8 encoding and therefore need
their meta-data changed (using the XML::RSS module to do this
correctly didn't work for some of the test files). The CGI object's
parameters, keywords and info_path are decoded correctly. File access
uses the UTF-8 layer (reading, writing, appending, access to the log
of recent changes, running sub processes with grep and diff).
The mac compatibility extension will also disable the use of grep if
non-ASCII characters are searched for because of an unexplained
problem with grep.
2012-05-24 18:08:42 +02:00
Alex Schroeder
c9e39a4c19
getting rid of $Id$ tags in $WikiDescription
...
Replaced the $Id$ tags in $WikiDescription for all the modules and wiki.pl itself with a link to the source and an appropriate wiki page, if possible. This is shown in action=version and should help users figure out what another wiki has installed.
2012-04-19 02:18:45 +02:00
Alex Schroeder
811a7b42c5
(%MarkupSingles): Added more arrows.
2009-11-07 19:32:35 +00:00
Alex Schroeder
6065978d41
(%MarkupSingles): The right arrow is followed
...
by a non-breaking space:
2009-11-07 19:30:17 +00:00
Alex Schroeder
310c36e217
(MarkupRule): Fixed markup rules to get the
...
[[foo]]'s apostrophe correct.
2009-03-13 22:28:29 +00:00
Alex Schroeder
312f8568cf
(%MarkupForcedPairs): Added that to options.
2009-02-13 10:26:51 +00:00
Alex Schroeder
c6a1566a94
(MarkupInit): Sort strings by length.
2008-03-26 21:57:19 +00:00
Alex Schroeder
22cccddb74
(%MarkupForcedPairs): Add newline after {{{ for preformatted block.
2006-08-31 09:11:58 +00:00
Alex Schroeder
48f9e5e0bf
(%MarkupForcedPairs): Use pre for {{{ ... }}}
...
instead of faking it with code. Define a hash telling us which
useful subset of HTML elements are block elements.
(MarkupTag): Close HTML environment and restart paragraph if a
block element.
(MarkupRule): Match trailing whitespace on a line if a block
element.
2006-08-18 23:57:36 +00:00
Alex Schroeder
2c2606c927
(MarkupRule): Test for space before the quote
...
before checking for punctuation after the quote.
2006-03-11 18:10:43 +00:00
Alex Schroeder
4236ff2370
(MarkupRule): Handle quotes.
...
($MarkupQuotes): New.
($MarkupQuoteTable): New.
(MarkupRule): Use them.
2006-03-06 01:53:29 +00:00
Alex Schroeder
145cbb14b4
Update copyright year.
2006-03-06 00:27:08 +00:00
Alex Schroeder
8060790d9e
(MarkupRule): Use numbered entities instead of utf-8 encoded characters.
...
($MarkupQuotes): delete again.
2006-03-06 00:26:50 +00:00
Alex Schroeder
30c55c0e53
(MarkupRule): Handle quotes.
...
($MarkupQuotes): New.
2006-03-06 00:14:22 +00:00
Alex Schroeder
12053833fa
(MarkupRule): Prevent forced markup from
...
spanning empty lines when start and end tag are the same. This is
specially tricky when // is used on a file path, for example.
2005-10-14 21:12:55 +00:00
Alex Schroeder
35aff2c55e
(MarkupRule): Make sure empty elements are not created, eg ____
...
stays ____ and does not turn into an empty (and thus invisible)
element.
2005-10-09 11:35:50 +00:00
Alex Schroeder
81292c2758
(MarkupRule): Fix regexp for forced pairs,
...
because it used to crash if no matching end was found for
thousands of characters.
2005-10-09 11:26:46 +00:00
Alex Schroeder
ab81bd1734
(MarkupRule): Fix multiline problem.
2005-09-25 11:14:58 +00:00
Alex Schroeder
27f8f1929c
(MarkupInit): Simplified code by making it
...
less tight.
(MarkupForcedPairs): Removed.
2005-09-10 03:18:29 +00:00
Alex Schroeder
beb717a9ca
(%MarkupForcedPairs): Changed definition for
...
triple braces.
(@markup_forced_pairs_re): Replaces $markup_forced_pairs_re as
internal variable.
(MarkupForcedPairs): New.
(MarkupInit): Use it to set @markup_forced_pairs_re.
2005-09-02 21:58:21 +00:00
Alex Schroeder
ca37b52b8e
(MarkupForcedPairs): New.
...
(MarkupRule, MarkupInit): Handle new option.
(MarkupRule): Fix %MarkupLines handling.
2005-08-23 02:48:13 +00:00
Alex Schroeder
3c968bd27e
Updated copyright years.
2005-01-06 11:35:04 +00:00
Alex Schroeder
92da846483
*** empty log message ***
2005-01-04 09:57:56 +00:00
Alex Schroeder
3ed4f24c85
Use @MyInitVariables.
2005-01-04 09:08:32 +00:00
Alex Schroeder
a775a7a03b
(MarkupRule): More checks to prevent bugs when
...
one of the hashes is empty.
2004-12-26 01:44:41 +00:00
Alex Schroeder
040709ca66
(MarkupRule): Remove stray call to warn.
2004-09-27 21:38:52 +00:00
Alex Schroeder
6c44c7e749
(%MarkupLines): New option.
...
(%MarkupSingles): Unquote HTML.
(NewMarkupInitVariables): Use %MarkupLines.
(MarkupTag): New, factored out of MarkupRule.
(MarkupRule): Use MarkupTag and support %MarkupLines.
2004-09-27 21:38:08 +00:00
Alex Schroeder
157f3f0977
(%MarkupPairs): No longer use the u element.
...
Use em with a style attribute instead.
(MarkupRule): Handle arrays in %MarkupPairs.
2004-09-02 20:34:52 +00:00
Alex Schroeder
7015c8c779
Rewrite to make it customizable.
2004-08-18 13:01:48 +00:00
Alex Schroeder
2df46c9280
Set %RuleOrder.
2004-07-14 14:51:23 +00:00
Alex Schroeder
16f453881c
(MarkupRule): Fix "to /usr/local/share/perl/!" example.
2004-06-26 21:25:40 +00:00
Alex Schroeder
4288478323
(MarkupRule): Fix ~/elisp/ and /usr/bin/ example.
2004-06-26 21:19:38 +00:00
Alex Schroeder
73000b1e75
(MarkupRule): Added zero-width look-ahead
...
assertion.
2004-06-26 20:58:05 +00:00
Alex Schroeder
17b4c14c2b
A sequence of words may not start with a
...
number in order to prevent "6/22/2004" -> "6<i>22</i>2004" instead
of "6/22/2004".
2004-06-23 13:06:37 +00:00
Alex Schroeder
9ff13c6fcc
(MarkupRule): Use en dash and em dash, changed
...
patterns slightly.
2004-06-20 20:41:07 +00:00
Alex Schroeder
56feb8a75d
(MarkupRule): Fix em dash rule.
2004-06-19 19:02:58 +00:00
Alex Schroeder
cd21d3c27a
use numerical character references instead. Else this corrupts
...
UTF-8 data!!
2004-06-19 03:29:19 +00:00
Alex Schroeder
5b062f27b8
New.
2004-06-17 01:10:15 +00:00