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