summaryrefslogtreecommitdiff
path: root/tests/it_html.t
AgeCommit message (Collapse)AuthorFilesLines
2018-04-26Use different global object for htmltype xml to allow mixing xml/html5 ↵Christian Schneider1-1/+1
generation
2018-04-23add unit tests for doctypeChristian A. Weber1-1/+13
2018-04-23officially support htmltype => 'xml', don't short-close voidtags in xhtml modeChristian A. Weber1-2/+19
2018-04-17fix empty non-void tags in non-xhtml modes, remove redundant whitelistChristian A. Weber1-1/+25
2018-04-12remove custom img() implementation with ie_png_fix, allow using ↵Christian A. Weber1-6/+20
it_html::tagname() for all tags+moretags
2017-12-12Avoid using search::xy in ITools codeChristian Schneider1-1/+1
2017-11-28extract U tests in json file (so they can be used elsewhere)Nathan Gass1-45/+3
2017-10-18entity-encode tabs and carriage returns like new lines in attributes so that ↵David Flatz1-2/+2
they won't get replaced by a space character when parsed see https://www.w3.org/TR/2004/REC-xml-20040204/#AVNormalize
2017-08-21fix multiple args in base, add documentationChristian A. Weber1-2/+2
2017-08-21add it_url::parse_str() which leaves dots and spaces in arg names intactChristian A. Weber1-0/+6
2017-08-18U(): params can override base args, correctly add fragment to end of url if ↵Christian A. Weber1-1/+12
params are present, add some tests
2016-06-28fix urls with double ?Urban Müller1-1/+1
2016-06-28add unit test to U() for encoding of ?Christian A. Weber1-0/+5
2016-02-03make tests compatible to php 5.3 stdDavid Flatz1-12/+12
2014-02-21Added support for htmltype 'html5' to it_htmlChristian Schneider1-0/+8
2013-10-14use %20 instead of + for blanks in U(), werbeverlags ag needs it that wayUrban Müller1-2/+2
2013-03-27::sanitize testUrban Müller1-0/+6
2012-10-10implement myimg in myhtml to have same behaviour with or without fasttagNathan Gass1-2/+2
2012-08-20test null argument behaviourUrban Müller1-0/+2
2012-08-17not workingUrban Müller1-2/+0
2012-08-17it_parse_args compatiblity: treat null like empty stringUrban Müller1-0/+2
2012-08-17test it_parse_args behaviourUrban Müller1-0/+2
2012-08-13add test for unprintable characters in attribute *name*Nathan Gass1-0/+6
2012-08-08some more special char tests (normal utf8 chars, \xc2 at end, null bytes)Nathan Gass1-0/+21
2012-08-07test changed nenewlinetags in myhtml with inheritance as used by mapNathan Gass1-0/+12
2012-08-07some tests for proper _cleanup with it_html tag functionsNathan Gass1-0/+12
2012-06-29numeric entities already handled (except for illegals, remove those)Urban Müller1-0/+1
2012-04-24merged it_html::fix_encoding in it::any2utf8Urban Müller1-11/+0
2012-04-10simpler double encoding test avoids false positivesUrban Müller1-1/+0
2012-03-30correct GREEN HEART test descriptionChristian Weber1-1/+1
2012-03-30add GREEN HEART unit test for it_html::fix_encoding()Christian Weber1-0/+2
2012-03-28Added it::any2utf8, fixed it::replace fast path to add u modified, added ↵Christian Schneider1-0/+1
error reporting for invalid utf-8 input to it::match and it::replace
2012-03-26Improve it_html testsChristian Schneider1-11/+11
2012-03-26fixed it_html::fix_encodingUrban Müller1-0/+12
2012-03-22check encoding in Q() and _tag(), adapt tests to utf-8Urban Müller1-15/+27
2010-04-22entity decoder; urlencoding of user in U()Urban Müller1-0/+8
2010-04-14Added it_xml test for invalid latin1 character, converted all tests to old ↵Christian Schneider1-1/+1
syntax
2009-12-22Preserve numeric entities in it_html::sanitizeChristian Schneider1-0/+6
2009-09-08Use U() to sanitize URLs in it_html::sanitize and adapted test cases to itChristian Schneider1-4/+4
2009-09-08guarantee validating urls, fix double encoding of url params in baseUrban Müller1-0/+10
2009-08-20Fix some test namesChristian Schneider1-5/+5
2009-08-20enforce img altUrban Müller1-2/+2
2009-06-05Properly handle single quotes in URL in U()Christian Schneider1-0/+6
2009-04-29killed requiresUrban Müller1-2/+0
2008-12-08Fix it_html::sanitize with b/br combination (tag prefix of other tag bug)Christian Schneider1-0/+6
2008-11-09Convert tests back to old syntax for consistency of itools syntaxChristian Schneider1-8/+8
2008-11-09Added tests for sanitize with different encodingsChristian Schneider1-0/+14
2008-11-04Simplify regex and make sure test catches CRChristian Schneider1-1/+1
2007-11-23Only split selected options on comma for multi-selectChristian Schneider1-0/+12
2007-11-08Always lowercase HTML tags in it_html::sanitize()Christian Schneider1-2/+2