     func extraAttributes(for representation: HTMLRepresentation) -> [AttributedStringKey: Any]? {
         return nil
     }
+
+    func supports(element: ElementNode) -> Bool {
+        return true
+    }
 }

import UIKit


/// ElementConverters take an HTML Element that don't have a textual representation and return a
/// special value to represent it (e.g. `<img>` or `<video>`). To apply a style to a piece of text,
/// use `AttributeFormatter`.
///
protocol ElementConverter {
    func convert(from element: ElementNode, inheritedAttributes: [AttributedStringKey: Any]) -> NSAttributedString

    /// The special string that represents the element — usually `NSAttachmentCharacter`.
    ///
    /// - Parameter element: Element that should be represented by the replacement String.
    ///
    func specialString(for element: ElementNode) -> String

    /// Returns an attachment representing the HTML element.
    ///

    /// - Returns: Dictionary of extra attributes where applicable, nil otherwise.
    ///
    func extraAttributes(for representation: HTMLRepresentation) -> [AttributedStringKey: Any]?


    /// Indicates whether the received element can be converted by the current instance, or not.
    ///
    func supports(element: ElementNode) -> Bool
}


