Skip to content
  • Alejandro Rodríguez's avatar
    Use middleman helpers for images · 10436465
    Alejandro Rodríguez authored
    This allows us to take full advantage of middleman URL generation
    capacities.
    
    The regular expression `%img((?:\.[\w-]+)+)\{ ?alt: ?"([\w\/\-_ ]+)" ?, ?src: ?"([\w\/\-._]+)" ?, ?style: ?"(.+)" ?\}/?`
    was substituted by `= image_tag "$3", class: "$1", alt: "$2", style: "$4"`
    and similar cases were derived from it.
    10436465