MicahChalmer/nesta-plugin-foldable — comment on commit e56b7f54cb2ac23a65ae8916b984752accf38d7b
File: lib/nesta-plugin-foldable/init.rb line 22
By MicahChalmer:

I think all that would be needed is to take this `body_text` business on the next 8 lines, which I copied from `Page#body`, and make it its own method in Page, (`body_markup` would be a better name for it than `body_text`, I think) so that it could be called both from `Page#body` and from site code or plugin code like this.

If I get a chance, I'll try to do it in my own fork and send you a pull request. Should be pretty small, and probably useful for other purposes as well.