lib/virastar.rb in virastar-0.0.1 vs lib/virastar.rb in virastar-0.0.2
- old
+ new
@@ -118,10 +118,10 @@
end
end
module VirastarStingExtensions
def persian_cleanup(options = {})
- editor = Virastar::PersianEditor.new(self,options)
+ editor = Virastar::PersianEditor.new(self.dup,options)
return editor.cleanup
end
end
String.send(:include, VirastarStingExtensions)
\ No newline at end of file