Patches: Browse | Submit New | Admin

[#18699] fckeditor_controller.rb, line 116, causes error "undefined method 'strip_tags'"

Date:
2008-03-09 06:25
Priority:
3
Submitted By:
Winnie Wing Sai Ho (dessertmonster)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
fckeditor_controller.rb, line 116, causes error "undefined method 'strip_tags'"

Detailed description
fckeditor_controller.rb line 116 error "undefined method 'strip_tags'" when spell checking is used since the
helper method "strip_tags" is in the module ActionView::Helpers::SanitizeHelper,
not ActionView::Helpers::TextHelper.

Change line 116 from:

include ActionView::Helpers::TextHelper

to:

include ActionView::Helpers::SanitizeHelper

Patched file is attached.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
fckeditor_controller.rb Download

Changes:

Field Old Value Date By
File Added3435: fckeditor_controller.rb2008-03-09 06:25dessertmonster