class Phlex::SGML
def __final_attributes__(**attributes)
- Api: - private
def __final_attributes__(**attributes) if respond_to?(:process_attributes) attributes = process_attributes(**attributes) end if attributes[:href]&.start_with?(/\s*javascript:/) attributes.delete(:href) end if attributes["href"]&.start_with?(/\s*javascript:/) attributes.delete("href") end buffer = +"" __build_attributes__(attributes, buffer: buffer) buffer end