doxygen/doxygen-1.12.0-regression-anchors.patch

31 lines
1012 B
Diff
Raw Normal View History

commit d408967139935bbaeae8d9eac7f0f34877d53d1c
Author: albert-github <albert.tests@gmail.com>
Date: Fri Sep 13 16:02:25 2024 +0200
issue #11135 The anchors don't work
Regression on 300f73d9ecd6b010a160e5f8cef14ecbabab950b:
```
commit 300f73d9ecd6b010a160e5f8cef14ecbabab950b
Date: Thu Jul 4 20:41:56 2024 +0200
issue #10970 Improvement of end of paragraph detection
```
attribute name is not `idname` but there are 2 attributes possible `id` and `name`
diff --git a/src/commentscan.l b/src/commentscan.l
index 8520fcb58..767aa440d 100644
--- a/src/commentscan.l
+++ b/src/commentscan.l
@@ -591,7 +591,7 @@ DETAILEDHTMLOPTEND {ENDCODE}
SUMMARY ("summary"|"SUMMARY")
REMARKS ("remarks"|"REMARKS")
AHTML [aA]{BN}*
-ANCHTML ("idname"|"IDNAME")"="("\""{LABELID}"\""|"'"{LABELID}"'"|{LABELID})
+ANCHTML ("id"|"name"|"ID"|"NAME")"="("\""{LABELID}"\""|"'"{LABELID}"'"|{LABELID})
BN [ \t\n\r]
BL [ \t\r]*"\n"
B [ \t]