diff options
author | Waylan Limberg <waylan@gmail.com> | 2010-01-03 20:59:38 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2010-01-03 21:00:01 -0500 |
commit | fc3020c68575042a1ff5426ddd94bc4be65bf77d (patch) | |
tree | 0ae6138096992f67326c001ca3e23ba3aafd2363 /tests | |
parent | 75504dedd3d309dae9158087731a967ec6725b57 (diff) | |
download | markdown-fc3020c68575042a1ff5426ddd94bc4be65bf77d.tar.gz markdown-fc3020c68575042a1ff5426ddd94bc4be65bf77d.tar.bz2 markdown-fc3020c68575042a1ff5426ddd94bc4be65bf77d.zip |
Fixed Ticket 48. Quoted attributes in raw html are specificly ackowledged now - allowing various arbitrary stuff (like x/html to be included without breaking the rawhtml parser.
Although currently unused, the code also provides the parsed attributes as a dict. Should be useful for adding support for parsing markdown text within rawhtml in an extension.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/misc/html.html | 4 | ||||
-rw-r--r-- | tests/misc/html.txt | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/misc/html.html b/tests/misc/html.html index 81ac5ee..cd6d4af 100644 --- a/tests/misc/html.html +++ b/tests/misc/html.html @@ -5,5 +5,9 @@ <p>Now some <arbitrary>arbitrary tags</arbitrary>.</p> <div>More block level html.</div> +<div class="foo bar" title="with 'quoted' text." valueless_attr weirdness="<i>foo</i>"> +Html with various attributes. +</div> + <p>And of course <script>blah</script>.</p> <p><a href="script>stuff</script">this <script>link</a></p>
\ No newline at end of file diff --git a/tests/misc/html.txt b/tests/misc/html.txt index 3ac3ae0..c08fe1d 100644 --- a/tests/misc/html.txt +++ b/tests/misc/html.txt @@ -7,6 +7,10 @@ Now some <arbitrary>arbitrary tags</arbitrary>. <div>More block level html.</div> +<div class="foo bar" title="with 'quoted' text." valueless_attr weirdness="<i>foo</i>"> +Html with various attributes. +</div> + And of course <script>blah</script>. [this <script>link](<script>stuff</script>) |