class Phlex::HTML
def _attributes(**attributes)
def _attributes(**attributes) ibutes[:href]&.start_with?(/\s*javascript/) utes[:href] = attributes[:href].sub(/^\s*(javascript:)+/, "") = +"" attributes(attributes, buffer: buffer) self.class.rendered_at_least_once :ATTRIBUTE_CACHE[attributes.hash] = buffer.freeze