Commit Graph

31 Commits

Author SHA1 Message Date
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