public Document createDefaultDocument(Font defaultFont, Color foreground) {
			StyleSheet defaultStyleSheet = new StyleSheet();

			String defaultCss = """
					p {
						margin-top: 0;
						margin-bottom: 0;
						margin-left: 0;
						margin-right: 0;
					}
					body {
						margin-top: 0;
						margin-bottom: 0;
						margin-left: 0;
						margin-right: 0;
					}
					""";

			StringReader reader = new StringReader(defaultCss);
			try {
				defaultStyleSheet.loadRules(reader, null);
			}
			catch (Throwable e) {
				Msg.debug(this, "Error loading default html styles", e);
				return null;
			}

			defaultStyleSheet.addStyleSheet(super.getStyleSheet());

			StyleSheet styleSheet = new StyleSheet();
			styleSheet.addStyleSheet(defaultStyleSheet);
			GHtmlLabelDocument document =
				new GHtmlLabelDocument(styleSheet, defaultFont, foreground);
			document.setAsynchronousLoadPriority(Integer.MAX_VALUE);
			return document;
		}
Returns the original text of the label.
<p>
The {@link #getText()} method for this class can return a value that is missing the leading
&lt;html&gt; tag.

@return text of this label
Ghidra/Framework/Docking/src/main/java/docking/widgets/label/AbstractHtmlLabel.java