Class RawHtmlMarkupFormatter
java.lang.Object
hudson.model.AbstractDescribableImpl<MarkupFormatter>
hudson.markup.MarkupFormatter
hudson.markup.RawHtmlMarkupFormatter
- All Implemented Interfaces:
ExtensionPoint, Describable<MarkupFormatter>
MarkupFormatter that sanitizes HTML, allowing some safe (formatting) HTML.
Before SECURITY-26 was fixed in Jenkins 1.454, this allowed all HTML without restriction. Since then, the class name is a misnomer, but kept for backwards compatibility.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidMethods inherited from class MarkupFormatter
doPreviewDescription, getDescriptor, getHelpUrl, previewsNowNeedPostForSecurity2153, translate
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
RawHtmlMarkupFormatter
@DataBoundConstructor public RawHtmlMarkupFormatter(boolean disableSyntaxHighlighting)
-
-
Method Details
-
isDisableSyntaxHighlighting
public boolean isDisableSyntaxHighlighting() -
translate
- Specified by:
translatein classMarkupFormatter- Throws:
IOException
-
getCodeMirrorMode
-
getCodeMirrorConfig
-