                         return
                 }
                 
-                applyStyle(urlValue, spanning: range)
+                applyStyle(urlValue, to: range)
             }
         }
         

        ///
        /// - Parameters:
        ///     - linkURL: the URL to set for the link.
        ///     - range: the range the attribute is spanning.
        ///
        private func applyStyle(linkURL: NSURL, spanning range: NSRange) {
            setLinkInDOM(range, url: linkURL)
        }
    

                return
            }
            
            applyStyle(underlineStyle: style, to: range)
        }
        
        /// Applies the underline style spanning the specified range to the DOM.
        ///
        /// - Parameters:
        ///     - style: the style of the underline.
        ///     - range: the range the style will be applied to.
        ///
        private func applyStyle(underlineStyle style: NSUnderlineStyle, to range: NSRange) {
            
            switch (style) {
            case .StyleSingle:
