public static String toWrappedHTML(String text, int maxLineLength) {

		if (text == null) {
			return null;
		}

		String wrappedLine = lineWrapWithHTMLLineBreaks(text, maxLineLength);
		if (isHTML(text)) {
			return wrappedLine;
		}

		return HTML + fixupHTMLRenderingIssues(wrappedLine);

	}
Similar to {@link #toHTML(String)} in that it will wrap the given text in
HTML tags and split the content into multiple lines.  The difference is that this method
will split lines that pass the given maximum length <b>and</b> on <code>'\n'</code>
characters.  Alternatively, {@link #toHTML(String)} will only split the given
text on <code>'\n'</code> characters.

@param text The text to convert
@param maxLineLength The maximum number of characters that should appear in a line;
		  0 signals not to wrap the line based upon length
@return converted text
Ghidra/Framework/Gui/src/main/java/ghidra/util/HTMLUtilities.java