Alex Schroeder
02ed3a533a
(MarkupInit): Sort strings by length.
2008-03-26 21:57:19 +00:00
Alex Schroeder
bfde03173f
(%MarkupForcedPairs): Add newline after {{{ for preformatted block.
2006-08-31 09:11:58 +00:00
Alex Schroeder
d9fad13b56
(%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
8c273627af
(MarkupRule): Test for space before the quote
...
before checking for punctuation after the quote.
2006-03-11 18:10:43 +00:00
Alex Schroeder
971dc6bb08
(MarkupRule): Handle quotes.
...
($MarkupQuotes): New.
($MarkupQuoteTable): New.
(MarkupRule): Use them.
2006-03-06 01:53:29 +00:00
Alex Schroeder
0f10fb11df
Update copyright year.
2006-03-06 00:27:08 +00:00
Alex Schroeder
83f97b0627
(MarkupRule): Use numbered entities instead of utf-8 encoded characters.
...
($MarkupQuotes): delete again.
2006-03-06 00:26:50 +00:00
Alex Schroeder
cce28f01d8
(MarkupRule): Handle quotes.
...
($MarkupQuotes): New.
2006-03-06 00:14:22 +00:00
Alex Schroeder
2a2fa3c0ba
(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
7ef4527f14
(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
48361aee37
(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
a155c1664e
(MarkupRule): Fix multiline problem.
2005-09-25 11:14:58 +00:00
Alex Schroeder
038f9c1a6a
(MarkupInit): Simplified code by making it
...
less tight.
(MarkupForcedPairs): Removed.
2005-09-10 03:18:29 +00:00
Alex Schroeder
9db7d37100
(%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
cf3baa4335
(MarkupForcedPairs): New.
...
(MarkupRule, MarkupInit): Handle new option.
(MarkupRule): Fix %MarkupLines handling.
2005-08-23 02:48:13 +00:00
Alex Schroeder
c0db690a0b
Updated copyright years.
2005-01-06 11:35:04 +00:00
Alex Schroeder
bcfca35ade
*** empty log message ***
2005-01-04 09:57:56 +00:00
Alex Schroeder
ca9194fca4
Use @MyInitVariables.
2005-01-04 09:08:32 +00:00
Alex Schroeder
09955e11a9
(MarkupRule): More checks to prevent bugs when
...
one of the hashes is empty.
2004-12-26 01:44:41 +00:00
Alex Schroeder
a5bf57089d
(MarkupRule): Remove stray call to warn.
2004-09-27 21:38:52 +00:00
Alex Schroeder
792fc44329
(%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
f3ccefd104
(%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
66719e4226
Rewrite to make it customizable.
2004-08-18 13:01:48 +00:00
Alex Schroeder
bfb3a4c2e2
Set %RuleOrder.
2004-07-14 14:51:23 +00:00
Alex Schroeder
369808f9ad
(MarkupRule): Fix "to /usr/local/share/perl/!" example.
2004-06-26 21:25:40 +00:00
Alex Schroeder
0a88f9fd68
(MarkupRule): Fix ~/elisp/ and /usr/bin/ example.
2004-06-26 21:19:38 +00:00
Alex Schroeder
1a393caf45
(MarkupRule): Added zero-width look-ahead
...
assertion.
2004-06-26 20:58:05 +00:00
Alex Schroeder
53189e4cd4
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
dfe9e23652
(MarkupRule): Use en dash and em dash, changed
...
patterns slightly.
2004-06-20 20:41:07 +00:00
Alex Schroeder
489b6a0382
(MarkupRule): Fix em dash rule.
2004-06-19 19:02:58 +00:00
Alex Schroeder
120b019009
use numerical character references instead. Else this corrupts
...
UTF-8 data!!
2004-06-19 03:29:19 +00:00
Alex Schroeder
6990d24fc7
New.
2004-06-17 01:10:15 +00:00