Commit graph

13 commits

Author SHA1 Message Date
Colin Kuskie
a3ff0fb7a5 Fix replacements (again). Add tests to test words and sequences with punctuation. Fixes bug #12208. 2011-08-01 10:27:43 -07:00
Colin Kuskie
e66092deaa Anchor words to replace in processReplacements. Fixes bug #11939. 2010-11-02 11:28:20 -07:00
Colin Kuskie
55e0feb687 Extend WebGUI::HTML::filter to also do encode XML entities. 2009-08-05 21:47:14 +00:00
Colin Kuskie
3535e8ddb4 Fix a bug where html2text dropped the last word. Added tests. 2009-04-25 05:41:24 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Graham Knop
a6018f798c fix quote tests 2007-08-30 00:15:27 +00:00
Colin Kuskie
83310ba311 update copyright on tests 2007-07-07 03:56:44 +00:00
Colin Kuskie
76585a1daa Added a new method to WebGUI::HTML called makeParameter safe. It will
encode commas and single quotes to make the output safe to embed inside
of a macro.
Added tests to verify that it works correctly.
Updated the c_companyName macro to use makeParameterSafe.
Added tests to verify that the changed macro works okay.
Updated the c_companyName documentation.
Added a blurb to the gotchas file to cover the change to the macro.
2007-02-13 23:42:53 +00:00
Colin Kuskie
15345a0232 remove module call since it is not used 2006-09-11 16:11:04 +00:00
Eric Kennedy
3ebd2ef625 Revised WebGUI::HTML::filter "all" so that text does not run together when tags are removed. Added additional tests to HTML.t. 2006-07-24 17:31:57 +00:00
JT Smith
012e6ee84a added a test for complex html stripping because it was reportedly not working 2006-07-21 01:56:56 +00:00
Colin Kuskie
54671ed087 WebGUI::HTML test script for filter subroutine 2006-07-06 23:01:54 +00:00