diff options
-rw-r--r-- | src/markdown.cpp | 4 | ||||
-rw-r--r-- | testing/055/md_055_markdown.xml | 6 | ||||
-rw-r--r-- | testing/055_markdown.md | 4 |
3 files changed, 12 insertions, 2 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index 2863669..86727a9 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -153,8 +153,8 @@ int Trace::s_indent = 0; // is character at position i in data allowed before an emphasis section #define isOpenEmphChar(i) \ (data[i]=='\n' || data[i]==' ' || data[i]=='\'' || data[i]=='<' || \ - data[i]=='{' || data[i]=='(' || data[i]=='[' || data[i]==',' || \ - data[i]==':' || data[i]==';') + data[i]=='>' || data[i]=='{' || data[i]=='(' || data[i]=='[' || \ + data[i]==',' || data[i]==':' || data[i]==';') // is character at position i in data an escape that prevents ending an emphasis section // so for example *bla (*.txt) is cool* diff --git a/testing/055/md_055_markdown.xml b/testing/055/md_055_markdown.xml index 18555aa..d814788 100644 --- a/testing/055/md_055_markdown.xml +++ b/testing/055/md_055_markdown.xml @@ -25,6 +25,12 @@ </para> <para>Dash - NDash <ndash/> MDash <mdash/> EDash - ENDash -- EMDash --- E3Dash --- </para> </sect2> + <sect2 id="md_055_markdown_1autotoc_md3"> + <title>Markdown in HTML</title> + <para> + <heading level="3"><bold>Header3</bold> blah <emphasis>blah</emphasis> <computeroutput>blah</computeroutput></heading> + </para> + </sect2> </sect1> </detaileddescription> </compounddef> diff --git a/testing/055_markdown.md b/testing/055_markdown.md index 375040e..695c340 100644 --- a/testing/055_markdown.md +++ b/testing/055_markdown.md @@ -22,3 +22,7 @@ More text [U]: http://example.com/last-line Dash - NDash -- MDash --- EDash \- ENDash \-- EMDash \--- E3Dash \-\-\- + +## Markdown in HTML + +<h3>**Header3** blah _blah_ `blah`</h3> |