Package hudson.markup
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 hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
Methods inherited from class hudson.markup.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:
translate
in classMarkupFormatter
- Throws:
IOException
-
getCodeMirrorMode
-
getCodeMirrorConfig
-