diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-08-26 13:01:17 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-08-26 13:01:17 -0400 |
commit | a4c80246770b87ca3d2cce5b5184901fd2495a7d (patch) | |
tree | 4bdbdf2b58f86471a4bf252e9330dd413c2c8f2a /MarkdownTest/Tests_2007/Links, inline style.html | |
parent | ebefa9bb10a0b3aebb134ed8fb06b79f97040999 (diff) | |
download | markdown-a4c80246770b87ca3d2cce5b5184901fd2495a7d.tar.gz markdown-a4c80246770b87ca3d2cce5b5184901fd2495a7d.tar.bz2 markdown-a4c80246770b87ca3d2cce5b5184901fd2495a7d.zip |
Fixed ticket 12. Insert code placeholder into a wrapping ET element rather than parent_elem.text as text will alway be at beginning of doc. The wrapping element is a <p> tag as, later, when the rawhtml is inserted, markdown will first check for the placeholder inside a <p> tag, and if the placeholder is the *only* content of the <p> tag, replace the entire <p> tag - not just the placeholder. Perhaps a little hacky, but this is how markdown works internally anyway.
Diffstat (limited to 'MarkdownTest/Tests_2007/Links, inline style.html')
0 files changed, 0 insertions, 0 deletions