Skip to content

Commit

Permalink
[MPLUGIN-517] GoalRenderer renderParameterDetails() renders in wrong …
Browse files Browse the repository at this point in the history
…order

This closes #277
  • Loading branch information
michael-o committed Apr 12, 2024
1 parent af234c6 commit e746d9c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
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 e746d9c

Please # to comment.