Forum: Ruby on Rails html-scanner in controller?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
429500a5a54600958c9c7ac032a37f66?d=identicon&s=25 Joe (Guest)
on 2006-03-14 22:06
Rails' docs state for strip_tags:

"Strips all HTML tags from the input, including comments. This uses the
html-scanner tokenizer and so itâ??s HTML parsing ability is limited by
that of html-scanner.Returns the tag free text."

What's "html-scanner" (some brief Googling didn't find anything
definitive) and can I use it in a controller?

Joe
Bf66e10c8fc4abefebde0425e7f6f15a?d=identicon&s=25 Norman Timmler (Guest)
on 2006-03-15 10:55
(Received via mailing list)
Am Dienstag, den 14.03.2006, 22:06 +0100 schrieb Joe:
> Rails' docs state for strip_tags:
>
> "Strips all HTML tags from the input, including comments. This uses the
> html-scanner tokenizer and so itâ??s HTML parsing ability is limited by
> that of html-scanner.Returns the tag free text."
>
> What's "html-scanner" (some brief Googling didn't find anything
> definitive) and can I use it in a controller?

It's here:

actionpack\lib\action_controller\vendor\html-scanner\html\tokenizer.rb


--
Norman Timmler

http://blog.inlet-media.de
This topic is locked and can not be replied to.