Skip to content

Commit

Permalink
fix non-inline images to not wrap text
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed May 4, 2024
1 parent 27bdb33 commit 75dbb73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private void printComponent(Documentation documentation, DocTextComponent docCom
String relativePathToTarget = getHelpRelativePath(directory, imageFile);
if (!imageReference.isInline()){
pw.println("<br><br>");
pw.println("<img align=left src=\""+relativePathToTarget+"\""+" width=\"" + targetImage.getDisplayWidth() + "\" height=\"" + targetImage.getDisplayHeight()+"\">");
pw.println("<img style=\"clear: left; float: none\" src=\""+relativePathToTarget+"\""+" width=\"" + targetImage.getDisplayWidth() + "\" height=\"" + targetImage.getDisplayHeight()+"\">");
} else {
pw.println("&nbsp;<img align=left src=\""+relativePathToTarget+"\""+" width=\"" + targetImage.getDisplayWidth() + "\" height=\"" + targetImage.getDisplayHeight()+"\">&nbsp;");
}
Expand Down

0 comments on commit 75dbb73

Please sign in to comment.