                 return
             }
             
-            if !text.hasPrefix("http://") && !text.hasPrefix("https://") {
-                text = "http://" + text
-            }
-            guard let url = NSURL(string: text) else { return }
+            let httpText = !text.hasPrefix("http://") && !text.hasPrefix("https://") ? "http://" + text : text
+            
+            guard let url = NSURL(string: httpText) else { return }
             UIApplication.sharedApplication().openURL(url)
             
         }

    override public func touchesBegan(touches: Set<UITouch>, withEvent event: UIEvent?) {
        guard let location = touches.first?.locationInView(self) else { return }
        guard let textContainer = self.textView?.textContainer else { return }
        let index = layoutManager.glyphIndexForPoint(location, inTextContainer: textContainer)
        
        self.searchCustomeLink(index, inCustomeLinks: self.customLinks) { (linkOrNil) -> Void in


public extension LinkLabelDelegate {
    
    func linkLabelExecuteLink(linkLabel: LinkLabel, text: String, result: NSTextCheckingResult) -> Void {
        
        if result.resultType.contains(.Link) {
            
