diff options
Diffstat (limited to 'actionpack/lib/action_controller/vendor/html-scanner')
-rw-r--r-- | actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb index 22df33afbe..b950e84628 100644 --- a/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +++ b/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb @@ -58,9 +58,6 @@ module HTML #:nodoc: elsif @scanner.scan(/!/) # doctype tag << @scanner.matched tag << consume_quoted_regions - elsif @scanner.scan(/\?/) # processing instructions, drop them - tag = '' - @scanner.scan_until(/\/>/) else tag << consume_quoted_regions end |