<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,9 @@
 This gives you the excellent FCKEditor (with file uploads and spell checking) in your Radiant page parts.
 
 == Requirements
-This extension has been tested on Radiant version 0.7.1. It will not work on versions &lt; 0.7.0 because the Radiant admin interface has changed.  If you need a version of this extension that works for Radiant &lt; 0.7.0, please see the &quot;radiant-0.6.9&quot; tag on github.
+This extension has been tested on Radiant version 0.8.0. It will not work on versions &lt; 0.8.0.
+
+If you need a version of this extension that works for Radiant &lt; 0.8.0, please see the &quot;radiant-0.7.1&quot; (or other) tag on github.
 
 You need to have aspell installed for spell checking to work.
 
@@ -56,3 +58,6 @@ http://www.fckeditor.net/
 
 == Contributors
 * Jereme Claussen, www.jeremeclaussen.com, for debugging help.
+* http://github.com/dko for the assistance getting this to work under Radiant 0.8.0.
+
+</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ require 'fileutils'
 require 'tmpdir'
 
 class FckeditorController &lt; ApplicationController
-  include ActionView::Helpers::SanitizeHelper
+
   protect_from_forgery :except =&gt; [:command,:check_spelling,:config]
   UPLOADED = &quot;/uploads&quot;
   UPLOADED_ROOT = RAILS_ROOT + &quot;/public&quot; + UPLOADED
@@ -168,7 +168,7 @@ class FckeditorController &lt; ApplicationController
   def check_spelling
     require 'cgi'
     @original_text = params[:textinputs] ? params[:textinputs].first : ''
-    plain_text = strip_tags(CGI.unescape(@original_text))
+    plain_text = ActionController::Base.helpers.strip_tags(CGI.unescape(@original_text))
     @words = FckeditorSpellCheck.check_spelling(plain_text)
     render :file =&gt; &quot;#{FckeditorExtension.root}/app/views/fckeditor/spell_check.rhtml&quot;
   end
@@ -181,7 +181,7 @@ class FckeditorController &lt; ApplicationController
   end
   
   def upload_directory_path
-    uploaded = request.relative_url_root.to_s+&quot;#{UPLOADED}/#{params[:Type]}&quot;
+    uploaded = ActionController::Base.relative_url_root.to_s+&quot;#{UPLOADED}/#{params[:Type]}&quot;
     &quot;#{uploaded}#{params[:CurrentFolder]}&quot;
   end
   </diff>
      <filename>app/controllers/fckeditor_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 # Uncomment this if you reference any of your controllers in activate
-require_dependency 'application'
+require_dependency 'application_controller'
 
 class FckeditorExtension &lt; Radiant::Extension
   version &quot;0.5&quot;</diff>
      <filename>fckeditor_extension.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>764a8fde2d744ce81469af15a0e89c6f964af27f</id>
    </parent>
  </parents>
  <author>
    <name>djcp</name>
    <email>dan@collispuro.net</email>
  </author>
  <url>http://github.com/djcp/radiant-fckeditor/commit/f12c23826cd658ee44778bed9877d4249c895b28</url>
  <id>f12c23826cd658ee44778bed9877d4249c895b28</id>
  <committed-date>2009-06-20T14:51:28-07:00</committed-date>
  <authored-date>2009-06-20T14:51:28-07:00</authored-date>
  <message>Fix fckeditor to work fully (?) under Radiant 0.8.0.</message>
  <tree>f3b0291a21fca42ea383e15278ea600eba58d05d</tree>
  <committer>
    <name>djcp</name>
    <email>dan@collispuro.net</email>
  </committer>
</commit>
