Skip to content

Commit

Permalink
[MPIR-405] Regression in Maven site rendering due to Doxia change to …
Browse files Browse the repository at this point in the history
…HTML5

This closes #29
  • Loading branch information
sultan authored and michael-o committed Jan 27, 2022
1 parent 51a051b commit 0190d05
Showing 1 changed file with 6 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -692,22 +692,16 @@ private boolean isReactorBuild()

private void iconSuccess( Locale locale, Sink sink )
{
sink.figure();
sink.figureCaption();
sink.text( getI18nString( locale, "icon.success" ) );
sink.figureCaption_();
sink.figureGraphics( IMG_SUCCESS_URL );
sink.figure_();
SinkEventAttributes attributes =
new SinkEventAttributeSet( SinkEventAttributes.ALT, getI18nString( locale, "icon.success" ) );
sink.figureGraphics( IMG_SUCCESS_URL, attributes );
}

private void iconError( Locale locale, Sink sink )
{
sink.figure();
sink.figureCaption();
sink.text( getI18nString( locale, "icon.error" ) );
sink.figureCaption_();
sink.figureGraphics( IMG_ERROR_URL );
sink.figure_();
SinkEventAttributes attributes =
new SinkEventAttributeSet( SinkEventAttributes.ALT, getI18nString( locale, "icon.error" ) );
sink.figureGraphics( IMG_ERROR_URL, attributes );
}

/**
Expand Down

0 comments on commit 0190d05

Please sign in to comment.