Skip to content

Commit

Permalink
[MPLUGIN-517] GoalRenderer renderParameterDetails() renders in wrong …
Browse files Browse the repository at this point in the history
…order
  • Loading branch information
michael-o committed Apr 12, 2024
1 parent af234c6 commit 0b0940e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -296,11 +296,11 @@ private void renderParameterDetails(Iterator<Parameter> parameters) {
while (parameters.hasNext()) {
Parameter parameter = parameters.next();
// deprecated anchor for backwards-compatibility with XDoc (upper and lower case)
// TODO: remove once migrated to Doxia 2.x
// TODO: replace once migrated to Doxia 2.x with two-arg startSection(String, String) method
sink.anchor(parameter.getName());
sink.anchor_();

startSection(format("parameter.name", parameter.getName()));
sink.anchor_();
String context = "Parameter " + parameter.getName() + " in goal " + descriptor.getGoal();
renderDeprecatedParameterDescription(parameter.getDeprecated(), context);
sink.division();
Expand Down

0 comments on commit 0b0940e

Please sign in to comment.