From cab1f5a7b4dc590f84734a72be8e84926327f710 Mon Sep 17 00:00:00 2001 From: Antoine Pelisse Date: Mon, 16 Jul 2012 17:05:43 +0200 Subject: Fixes example after moving AtomicString to util --- docs/extensions/api.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/extensions/api.txt b/docs/extensions/api.txt index 8886b8f..0734e42 100644 --- a/docs/extensions/api.txt +++ b/docs/extensions/api.txt @@ -335,7 +335,7 @@ the second cell (``td2``) will be run through InlinePatterns latter): table.set("cellpadding", "2") # Set cellpadding to 2 tr = etree.SubElement(table, "tr") # Add child tr to table td1 = etree.SubElement(tr, "td") # Add child td1 to tr - td1.text = markdown.AtomicString("Cell content") # Add plain text content + td1.text = markdown.util.AtomicString("Cell content") # Add plain text content td2 = etree.SubElement(tr, "td") # Add second td to tr td2.text = "*text* with **inline** formatting." # Add markup text table.tail = "Text after table" # Add text after table -- cgit v1.2.3