Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move html-scanner tests one dir up | Pratik Naik | 2009-05-23 | 7 | -944/+0 |
| | |||||
* | Ruby 1.9 compat: rename deprecated assert_raises to assert_raise. | Jeremy Kemper | 2009-03-08 | 1 | -1/+1 |
| | | | | [#1617 state:resolved] | ||||
* | Move controller assertions from base TestCase to AC:: and AV::TestCase | Jeremy Kemper | 2008-11-07 | 1 | -1/+1 |
| | |||||
* | Fixed the sanitize helper to avoid double escaping already properly escaped ↵ | David Heinemeier Hansson | 2008-11-06 | 1 | -0/+4 |
| | | | | entities [#683 state:committed] | ||||
* | Fix incorrect closing CDATA delimiter. Add tests for CDATA nodes. | Jeffrey Hardy | 2008-10-23 | 1 | -0/+15 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fix that HTML::Node.parse would blow up on unclosed CDATA sections. | Jeffrey Hardy | 2008-10-23 | 2 | -0/+31 |
| | | | | | | | | If an unclosed CDATA section is encountered and parsing is strict, an exception will be raised. Otherwise, we consider the remainder of the line to be the section contents. This is consistent with HTML::Tokenizer#scan_tag. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Patched HTML::Document#initialize call to Node.parse so that it includes the ↵ | Jimmy Baker | 2008-06-24 | 1 | -0/+25 |
| | | | | strict argument. [#330] | ||||
* | Fixed HTML::Tokenizer (used in sanitize helper) didnt handle unclosed CDATA ↵ | David Heinemeier Hansson | 2008-03-28 | 1 | -0/+7 |
| | | | | | | tags (closes #10071) [esad, packagethief] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: check dom equality | Jeremy Kemper | 2008-01-07 | 1 | -3/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 6 | -13/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Correct indentation in a couple spots. Closes #10671 [l.guidi, rick] | Rick Olson | 2008-01-02 | 1 | -3/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8527 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix HTML Sanitizer to allow trailing spaces in CSS style attributes. Closes ↵ | Rick Olson | 2007-12-23 | 1 | -1/+7 |
| | | | | | | #10566 [wesley.moxam] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8485 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fix broken test (closes #10364) [chuyeow] | David Heinemeier Hansson | 2007-12-05 | 1 | -1/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8271 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Refactor sanitizer helpers into HTML classes and make it easy to swap them ↵ | Rick Olson | 2007-11-26 | 1 | -0/+244 |
| | | | | | | out with custom implementations. Closes #10129. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8213 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | [html-scanner] Fix parsing of empty tags. Closes #7641. [anthony.bailey] | Michael Koziarski | 2007-09-21 | 1 | -0/+20 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7528 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add much-needed html-scanner tests. Fixed CDATA parsing bug. [Rick] | Rick Olson | 2007-02-04 | 5 | -0/+588 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |