Skip to content

caches_action with layout: false produces escaped html output on uncached response #43

Closed
@jonn

Description

@jonn

As of actionpack-action_caching 1.2.0, I’m getting escaped HTML for the output of a caches_action action when there is no cache to serve. When the action is already cached, the HTML output is not escaped and pages look/function as expected.

class HomeController < ApplicationController

  caches_action :index, layout: false

  …

end

Reverting to actionpack-action_caching 1.1.1 restores the expected behavior (html not escaped whether action output is cached or not).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions