From 06522e117ac8f10f22fb3944fc1239c761e3b26f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Fri, 15 Dec 2017 01:59:15 +0100 Subject: [PATCH] doxygen: implement  . --- doxygen/dox2html5.py | 2 ++ doxygen/test/contents_typography/index.html | 2 +- doxygen/test/contents_typography/input.dox | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doxygen/dox2html5.py b/doxygen/dox2html5.py index 9887dc2e..e8f8bb32 100755 --- a/doxygen/dox2html5.py +++ b/doxygen/dox2html5.py @@ -769,6 +769,8 @@ def parse_desc_internal(state: State, element: ET.Element, immediate_parent: ET. # WHAT THE HELL WHY IS THIS NOT AN XML ENTITY elif i.tag in ['mdash', 'ndash', 'laquo', 'raquo']: out.parsed += '&{};'.format(i.tag) + elif i.tag == 'nonbreakablespace': + out.parsed += ' ' # Something new :O else: # pragma: no cover diff --git a/doxygen/test/contents_typography/index.html b/doxygen/test/contents_typography/index.html index c9fcfe7a..e01ebe23 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. Emphasis with typewriter and bold nested. http://google.com and URL. En-dash – and em-dash —. Reference to a Page subsection. Named reference with special characters in title: » Warnings «. Reference with escaped characters in title: <anchor>.

+

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. Named reference with special characters in title: » Warnings «. Reference with escaped characters in title: <anchor>.

diff --git a/doxygen/test/contents_typography/input.dox b/doxygen/test/contents_typography/input.dox index 32035291..33fc329e 100644 --- a/doxygen/test/contents_typography/input.dox +++ b/doxygen/test/contents_typography/input.dox @@ -32,8 +32,8 @@ 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. Named reference with special characters in title: -@ref warnings "» Warnings «". Reference with escaped characters in -title: @ref an-anchor "". +@ref warnings "» Warnings «". Reference with escaped characters +in title: @ref an-anchor "". */ -- 2.30.2