Skip to content

Commit 123b264

Browse files
committed
issue doxygen#11172 Aliases with embed:rst:leading-asterisk no longer work in Doxygen 1.12
After review
1 parent 75836cc commit 123b264

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/aliases.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,8 @@ static void addValidAliasToMap(std::string_view alias)
159159

160160
static std::string escapeAlias(std::string_view value)
161161
{
162-
std::string newValue = substituteStringView(value,"^^","@ilinebr ");
162+
std::string newValue = substituteStringView(value,"^^ ","@ilinebr ");
163+
newValue = substituteStringView(newValue,"^^","@ilinebr ");
163164
//printf("escapeAlias('%s')='%s'\n",qPrint(std::string{value}),qPrint(newValue));
164165
return newValue;
165166
}

0 commit comments

Comments
 (0)