                 }
             }
         	for child in element.childNodes(ofTypes: [.Element, .Text]) {
+                if child.type == .Text && child.stringValue == "\n" {
+                    continue
+                }
                 attributedString.appendAttributedString(prefix)
             	attributedString.appendAttributedString(generateString(child,
                     	attributedString: NSMutableAttributedString()))

    
    init(escapedHtml html: String, font: UIFont) {
        self.font = font
        self.attributedString = self.parseHtml(html.decodeHTML()
            	.stringByReplacingOccurrencesOfString("\n", withString: "").trimmed())
    }

    private func parseHtml(text: String) -> NSAttributedString {

    }
    
    private func generateString(node: XMLNode, attributedString: NSMutableAttributedString) -> NSMutableAttributedString {
        if node.type == .Text {
            let string: String
            if let parent = node.parent where parent.tag == "code" {
                string = node.stringValue
            } else {
                string = node.stringValue.stringByReplacingOccurrencesOfString("\n", withString: "")
            }
            attributedString.appendAttributedString(NSAttributedString(string: string,
                	attributes: [NSForegroundColorAttributeName: Colors.textColor]))
            return attributedString
        }
        
