Commit Graph

10 Commits

Author SHA1 Message Date
Alex Schroeder
9d3b5e25ee usemod.pl: fix XSS vulnerability for $HtmlLinks 2015-07-13 08:48:18 +02:00
Aleks-Daniel Jakimenko
c4671a8909 Removing clear_pages() from the beginning of tests (part 1)
This script was used:
perl -0pi -e 's/(use Test[^\n]+)\n+clear_pages\(\);[^\n]*\n+/$1\n\n/' *.t
2015-07-05 03:28:46 +03:00
Alex Schroeder
e7c77a7b0e Fix permissions for tests 2015-04-06 21:00:58 +02:00
Alex Schroeder
063a70db39 test $UseModMarkupInTitles 2009-07-01 09:01:26 +00:00
Brian Curry
d6ba0b66ec * wiki.pl (@HtmlAttrStack): New global variable. This permits
the InElement() and [Add|Close]HtmlEnvironment() family of
functions to add, remove, and search against HTML tag attributes
for all recently stacked HTML tag environments. Previously, tag
attributes were not retained; they were simply returned as text
from the AddHtmlEnvironment() function. Markup modules producing
complex HTML -- particularly, complex HTML having deeply nested
span or div tags -- can leverage the newly rewritten functions,
below, to simplify, streamline, and "clean up" their markup code.
(InElement): Rewritten to use this new variable.
(AddHtmlEnvironment): Rewritten to use this new variable.
(CloseHtmlEnvironment): Rewritten to use this new variable.
(CloseHtmlEnvironments): Rewritten to use this new variable.
(CloseHtmlEnvironmentUntil): Rewritten to use this new variable.
(AddOrCloseHtmlEnvironment): New function. Added so as to avoid
duplicate redefinition in the Creole, Creole Addition, and Usemod
modules.
* modules/usemod.pl (UsemodRule): Corrected erroneous usage of the
InElement() function. (I don't think UsemodRule()	was ever quite
right, really; it's a bit surprising it worked this long!)
2008-11-05 09:42:05 +00:00
Alex Schroeder
f55739809c Copyright year update. 2007-12-09 01:58:12 +00:00
Alex Schroeder
4b8207966f Added first/odd/even classes to table tests. 2007-12-09 01:57:36 +00:00
Alex Schroeder
58e4172bbc Convert to Unix EOL.
Fix the reinitialization after the creation of InterMap pages.
2006-10-10 01:17:23 +00:00
Alex Schroeder
558af917a1 Added license. 2006-09-20 00:11:31 +00:00
Alex Schroeder
b7d54f7172 Moved tests here from ../test.pl 2006-09-19 15:54:31 +00:00