From: Vladimír Vondruš Date: Thu, 14 Dec 2017 21:32:43 +0000 (+0100) Subject: doxygen: test that nested inline elements are parsed properly. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=693cbe327f4cf1a677c319808d695cdd98232b34;p=blog.git doxygen: test that nested inline elements are parsed properly. Not really, the whitespace is stripped where it should be preserved. --- diff --git a/doxygen/test/contents_custom/index.html b/doxygen/test/contents_custom/index.html index f21a915d..6113ea02 100644 --- a/doxygen/test/contents_custom/index.html +++ b/doxygen/test/contents_custom/index.html @@ -37,7 +37,7 @@

My Project

-
This paragraph is rendered in a dim note, centered.

This paragraph contains a red text in a normal text flow and then small strong italics, blue italics and https://mcss.mosra.cz (big-ass link).

A paragraph that is not affected by the inline classes from above.

Bold, non-indented paragraph.

Bold text that should not have the same class as the paragraph.

A paragraph that doesn't have any class applied. Next, a full-width image:

Image
Image
A flat figure

A fullwidth table:

Table headerAnother
CellAnother cell
Next rowLast.

An unstyled list:

+
This paragraph is rendered in a dim note, centered.

This paragraph contains a red text in a normal text flow and then small strong italics, blue italics and https://mcss.mosra.cz (big-ass link).

A paragraph that is not affected by the inline classes from above.

Bold, non-indented paragraph.

Bold text that should not have the same class as the paragraph.

A paragraph that doesn't have any class applied. Next, a full-width image:

Image
Image
A flat figure

A fullwidth table:

Table headerAnother
CellAnother cell
Next rowLast.

An unstyled list:

diff --git a/doxygen/test/contents_custom/input.dox b/doxygen/test/contents_custom/input.dox index d05777b3..6c9951f6 100644 --- a/doxygen/test/contents_custom/input.dox +++ b/doxygen/test/contents_custom/input.dox @@ -1,9 +1,9 @@ /** @mainpage -@m_div{m-note m-dim m-text-center} This paragraph is rendered in a dim note, +@m_div{m-note m-dim m-text-center} This paragraph *is* rendered in a dim note, centered. @m_enddiv -This paragraph contains a @m_span{m-text m-danger} red text @m_endspan in +This paragraph contains a @m_span{m-text m-danger} *red* text @m_endspan in a normal text flow and then @m_class{m-text m-em m-small} **small strong italics**, @m_class{m-text m-info} *blue italics* and @m_class{m-text m-big} https://mcss.mosra.cz (big-ass link). diff --git a/doxygen/test/contents_typography/index.html b/doxygen/test/contents_typography/index.html index b76b510d..960cf0a2 100644 --- a/doxygen/test/contents_typography/index.html +++ b/doxygen/test/contents_typography/index.html @@ -38,7 +38,7 @@ My Project

Page section

A blockquote.

Preformatted text.
-

Paragraph
with
explicit
line
breaks.

Page subsection

  • Unordered
  • list
  • of
    • nested
    • items
  • and back

Sub-sub section

  1. Ordered
  2. list
  3. of
    1. nested
    2. items
  4. and back

This is a typewriter text, emphasis and bold. http://google.com and URL. En-dash – and em-dash —. Reference to a Page subsection.

+

Paragraph
with
explicit
line
breaks.

Page subsection

Sub-sub section

  1. Ordered
  2. list
  3. of
    1. nested
    2. items
  4. and back

This is a typewriter text, emphasis and bold. Emphasis with typewriter and bold nested. http://google.com and URL. En-dash – and em-dash —. Reference to a Page subsection.

diff --git a/doxygen/test/contents_typography/input.dox b/doxygen/test/contents_typography/input.dox index 90b59ffe..8d8e6c4e 100644 --- a/doxygen/test/contents_typography/input.dox +++ b/doxygen/test/contents_typography/input.dox @@ -28,8 +28,9 @@ Paragraph \n with \n explicit \n line \n breaks. @anchor an-anchor -This is a `typewriter text`, *emphasis* and **bold**. http://google.com and -[URL](http://google.com). En-dash -- and em-dash ---. Reference to a +This is a `typewriter text`, *emphasis* and **bold**. Emphasis with +typewriter and bold nested. http://google.com +and [URL](http://google.com). En-dash -- and em-dash ---. Reference to a @ref subsection. */