Variants in ActionView::Digestor

Backwards-compatible version, compare with:
  rails#14243