chiark / gitweb /
documentation/doxygen: properly escape HTML <>s in a test.
authorVladimír Vondruš <mosra@centrum.cz>
Sat, 14 Sep 2024 23:46:59 +0000 (01:46 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sat, 14 Sep 2024 23:48:41 +0000 (01:48 +0200)
This was making Doxygen 1.10 + 1.11 fail parsing the link title,
substituting for an empty text. Funnily enough 1.12 doesn't suffer from
that anymore, which is what made me think that was a Doxygen bug and not
mine. Well it still *is* a Doxygen bug, but at least now I can have
consistent output everywhere.

documentation/test_doxygen/contents_typography/input.dox

index 29c0cb8013acdbcdd66573c2bc415c8ac4a5d319..bfc2bee371f7dfb7a7a00e1a718fb231932c1e45 100644 (file)
@@ -33,7 +33,7 @@ This is a `typewriter text`, *emphasis*, **bold**. <em>Emphasis with
 and [URL](http://google.com). <small>Small *text*.</small> En-dash -- and
 em-dash ---. Reference to a @ref section. Named reference with special
 characters in title: @ref section "&raquo; Warnings &laquo;". Reference with
-escaped characters in&nbsp;title: @ref an-anchor "<anchor>".
+escaped characters in&nbsp;title: @ref an-anchor "&lt;anchor&gt;".
 
 2<sup>nd</sup> is L<sub>&infin;</sub> &forall; &nabla; &pi; &real; &image;
 This costs no $, &euro;, &pound;, &yen; or &curren;.