diff options
author | Waylan Limberg <waylan@gmail.com> | 2012-07-18 18:28:21 -0700 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2012-07-18 18:28:21 -0700 |
commit | d9f2d50a0a5c98db15fd280a455e361369f755be (patch) | |
tree | eec5b65880e6359488652e92f10b69fba29ef9c7 /docs/extensions | |
parent | 773ba63ab957a698e6e7fd2a6c80c9901a281d63 (diff) | |
parent | cab1f5a7b4dc590f84734a72be8e84926327f710 (diff) | |
download | markdown-d9f2d50a0a5c98db15fd280a455e361369f755be.tar.gz markdown-d9f2d50a0a5c98db15fd280a455e361369f755be.tar.bz2 markdown-d9f2d50a0a5c98db15fd280a455e361369f755be.zip |
Merge pull request #120 from apelisse/master
Fixes example after moving AtomicString to util
Diffstat (limited to 'docs/extensions')
-rw-r--r-- | docs/extensions/api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |