lib/bridgetown-cloudinary/builder.rb in bridgetown-cloudinary-1.0.1 vs lib/bridgetown-cloudinary/builder.rb in bridgetown-cloudinary-1.0.2

- old
+ new

@@ -1,10 +1,12 @@ # frozen_string_literal: true module Bridgetown module Cloudinary class Builder < Bridgetown::Builder + include Bridgetown::Filters + CONFIG_DEFAULTS = { cloudinary: { cloud_name: nil, default_transformation: "open_graph", default_image_format: "jpg", @@ -65,10 +67,10 @@ obj, var = variable.split(".") variable = tag_context[obj][var] else variable = tag_context[variable] end - variable + xml_escape(variable) end end end end