Commit Graph

9 Commits

Author SHA1 Message Date
Alex Schroeder
60cde0e507 * modules/forms.pl (FormsRule): Removed Sidebar-specific hack.
Thanks, Alex!
2008-11-25 09:59:32 +00:00
Alex Schroeder
bbfdf96d5b * modules/crossbar.pl: New module. Provides a sustainable
replacement for the Sidebar module, for all Sidebar users
requiring a cleaner integration of that module with other modules
such as "toc.pl" and "footnotes.pl". This new module also improves
Sidebar customizability by permitting users to place the "Crossbar"
at any position in any page.
* modules/forms.pl (FormsRules): Generalized so as to support both
the Sidebar and Crossbar modules.
* modules/toc.pl (RunMyRulesToc): Generalized so as to support both
the Sidebar and Crossbar modules.
* t/crossbar.t: New test suite, testing the Crossbar module.
2008-11-23 22:13:29 +00:00
Alex Schroeder
d1f0e9ebe4 * modules/sidebar.pl: Refactored. This is a complete rewrite
removing all previous module-specific hacks. However, as it is a
rewrite, it may still have issues. (Fortunately, time is the mother
of invention and bug fixes.)
* modules/toc.pl: Refactored. This is a complete rewrite
removing all previous module-specific hacks. As with "sidebar.pl",
it may still have issues. That said -- I'm relatively proud of it,
and confident that it (should) stand up under rigorous scrutinies,
utilization, and brutalization.
* modules/forms.pl (FormsRule): Slightly revised, so as to comply
with the "sidebar.pl" refactoring.
2008-11-15 12:48:13 +00:00
Alex Schroeder
7594f07af7 (FormsRule): Remove <div> rule an extra
grouping from regexp.
2006-12-22 15:49:36 +00:00
Alex Schroeder
dfaa877d24 Allow <html> blocks. 2006-10-29 08:24:03 +00:00
Alex Schroeder
045fa7f8a2 (FormsRule): AddHtmlEnvironment('p') 2004-12-05 03:24:39 +00:00
Alex Schroeder
9011365f37 (FormsRule): Close HTML environments before
starting the form.
2004-10-08 20:07:39 +00:00
Alex Schroeder
e989d9df87 Fix for wiki.pl 1.419: Important change in handling rules! Rules are
expected to return undef when they did not match, and the empty string
if a dirty block was produced.
2004-06-17 01:13:18 +00:00
Alex Schroeder
31035aae72 moved 2004-02-08 13:03:56 +00:00