Platforms to show: All Mac Windows Linux Cross-Platform

Back to TidyDocumentMBS class.

Previous items

TidyDocumentMBS.OptionRepeatedAttributes as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option repeated-attributes.

This option specifies if Tidy should keep the first or last attribute, if an attribute is repeated, e.g. has two align attributes.
(Read and Write property)

TidyDocumentMBS.OptionReplaceColor as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option replace-color.

This option specifies if Tidy should replace numeric values in color attributes with HTML/XHTML color names where defined, e.g. replace #ffffff with white.
(Read and Write property)

TidyDocumentMBS.OptionShowBodyOnly as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option show-body-only.

This option specifies if Tidy should print only the contents of the body tag as an HTML fragment.
If set to auto, this is performed only if the body tag has been inferred.
Useful for incorporating existing whole pages as a portion of another page.
This option has no effect if XML output is requested.
(Read and Write property)

TidyDocumentMBS.OptionShowErrors as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option show-errors.

This option specifies the number Tidy uses to determine if further errors should be shown. If set to 0, then no errors are shown.
(Read and Write property)

TidyDocumentMBS.OptionShowInfo as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option show-info.

This option specifies if Tidy should display info-level messages.
(Read and Write property)

TidyDocumentMBS.OptionShowMarkup as Boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
This option specifies if Tidy should generate a pretty printed version of the markup.

Note that Tidy won't generate a pretty printed version if it finds significant errors (see force-output).
(Read and Write property)

TidyDocumentMBS.OptionShowWarnings as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option show-warnings.

This option specifies if Tidy should suppress warnings. This can be useful when a few errors are hidden in a flurry of warnings.
(Read and Write property)

TidyDocumentMBS.OptionSkipNested as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option skip-nested.

This option specifies that Tidy should skip nested tags when parsing script and style data.
(Read and Write property)

TidyDocumentMBS.OptionSlideStyle as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option slide-style.

This option has no function and is deprecated.
(Read and Write property)

TidyDocumentMBS.OptionSortAttributes as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option sort-attributes.

This option specifies that Tidy should sort attributes within an element using the specified sort algorithm. If set to alpha, the algorithm is an ascending alphabetic sort.
(Read and Write property)

TidyDocumentMBS.OptionSplit as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option split.

This option has no function and is deprecated.
(Read and Write property)

TidyDocumentMBS.OptionStrictTagsAttributes as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option strict-tags-attributes.

This options ensures that tags and attributes are applicable for the version of HTML that Tidy outputs. When set to yes (the default) and the output document type is a strict doctype, then Tidy will report errors. If the output document type is a loose or transitional doctype, then Tidy will report warnings.
Additionally if drop-proprietary-attributes is enabled, then not applicable attributes will be dropped, too.
When set to no, these checks are not performed.
(Read and Write property)

TidyDocumentMBS.OptionTabSize as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option tab-size.

This option specifies the number of columns that Tidy uses between successive tab stops. It is used to map tabs to spaces when reading the input.
(Read and Write property)

TidyDocumentMBS.OptionTidyMark as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option tidy-mark.

This option specifies if Tidy should add a meta element to the document head to indicate that the document has been tidied.
Tidy won't add a meta element if one is already present.
(Read and Write property)

TidyDocumentMBS.OptionUppercaseAttributes as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option uppercase-attributes.

This option specifies if Tidy should output attribute names in upper case.
The default is no, which results in lower case attribute names, except for XML input, where the original case is preserved.
(Read and Write property)

TidyDocumentMBS.OptionUpperCaseAttrs as Boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
This option specifies if Tidy should output attribute names in upper case.

The default is no, which results in lower case attribute names, except for XML input, where the original case is preserved.
(Read and Write property)

TidyDocumentMBS.OptionUppercaseTags as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option uppercase-tags.

This option specifies if Tidy should output tag names in upper case.
The default is no which results in lower case tag names, except for XML input where the original case is preserved.
(Read and Write property)

Some examples using this property:

TidyDocumentMBS.OptionVerticalSpace as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option vertical-space.

This option specifies if Tidy should add some extra empty lines for readability.
The default is no.
If set to auto Tidy will eliminate nearly all newline characters.
(Read and Write property)

TidyDocumentMBS.OptionVertSpace as Integer   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
This option specifies if Tidy should add some empty lines for readability.

(Read and Write property)

TidyDocumentMBS.OptionWord2000 as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option word-2000.

This option specifies if Tidy should go to great pains to strip out all the surplus stuff Microsoft Word 2000 inserts when you save Word documents as "Web pages". It doesn't handle embedded images or VML.
You should consider using Word's "Save As: Web Page, Filtered".
(Read and Write property)

TidyDocumentMBS.OptionWrap as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option wrap.

This option specifies the right margin Tidy uses for line wrapping.
Tidy tries to wrap lines so that they do not exceed this length.
Set wrap to 0(zero) if you want to disable line wrapping.
(Read and Write property)

TidyDocumentMBS.OptionWrapAsp as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option wrap-asp.

This option specifies if Tidy should line wrap text contained within ASP pseudo elements, which look like: <% ... %>.
(Read and Write property)

TidyDocumentMBS.OptionWrapAttributes as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option wrap-attributes.

This option specifies if Tidy should line-wrap attribute values, meaning that if the value of an attribute causes a line to exceed the width specified by wrap, Tidy will add one or more line breaks to the value, causing it to be wrapped into multiple lines.
Note that this option can be set independently of wrap-script-literals. By default Tidy replaces any newline or tab with a single space and replaces any sequences of whitespace with a single space.
To force Tidy to preserve the original, literal values of all attributes, and ensure that whitespace characters within attribute values are passed through unchanged, set literal-attributes to yes.
(Read and Write property)

TidyDocumentMBS.OptionWrapAttVals as Boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
This option specifies if Tidy should line wrap attribute values, for easier editing.

This option can be set independently of wrap-script-literals.
(Read and Write property)

TidyDocumentMBS.OptionWrapJste as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option wrap-jste.

This option specifies if Tidy should line wrap text contained within JSTE pseudo elements, which look like: <# ... #>.
(Read and Write property)

TidyDocumentMBS.OptionWrapLen as Integer   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
This option specifies the right margin Tidy uses for line wrapping.

Tidy tries to wrap lines so that they do not exceed this length. Set wrap to zero if you want to disable line wrapping.
(Read and Write property)

TidyDocumentMBS.OptionWrapPhp as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option wrap-php.

This option specifies if Tidy should line wrap text contained within PHP pseudo elements, which look like: <?php ... ?>.
(Read and Write property)

TidyDocumentMBS.OptionWrapScriptlets as Boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
This option specifies if Tidy should line wrap string literals that appear in script attributes.

Tidy wraps long script string literals by inserting a backslash character before the line break.
(Read and Write property)

TidyDocumentMBS.OptionWrapScriptLiterals as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option wrap-script-literals.

This option specifies if Tidy should line wrap string literals that appear in script attributes.
Tidy wraps long script string literals by inserting a backslash character before the line break.
(Read and Write property)

TidyDocumentMBS.OptionWrapSection as Boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
This option specifies if Tidy should line wrap text contained within <![ ... ]> section tags.

(Read and Write property)

TidyDocumentMBS.OptionWrapSections as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option wrap-sections.

This option specifies if Tidy should line wrap text contained within &lt;![ ... ]&gt; section tags.
(Read and Write property)

TidyDocumentMBS.OptionWriteBack as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The tidy option write-back.

This option specifies if Tidy should write back the tidied markup to the same file it read from.
You are advised to keep copies of important files before tidying them, as on rare occasions the result may not be what you expect.
(Read and Write property)

TidyDocumentMBS.OptionXhtmlOut as Boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
This option specifies if Tidy should generate pretty printed output, writing it as extensible HTML.

This option causes Tidy to set the DOCTYPE and default namespace as appropriate to XHTML. If a DOCTYPE or namespace is given they will checked for consistency with the content of the document. In the case of an inconsistency, the corrected values will appear in the output. For XHTML, entities can be written as named or numeric entities according to the setting of the "numeric-entities" option. The original case of tags and attributes will be preserved, regardless of other options.
(Read and Write property)

TidyDocumentMBS.OptionXmlDecl as Boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
This option specifies if Tidy should add the XML declaration when outputting XML or XHTML.

Note that if the input already includes an <?xml ... ?> declaration then this option will be ignored. If the encoding for the output is different from "ascii", one of the utf encodings or "raw", the declaration is always added as required by the XML standard.
(Read and Write property)

TidyDocumentMBS.OptionXmlOut as Boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
This option specifies if Tidy should pretty print output, writing it as well-formed XML.

Any entities not defined in XML 1.0 will be written as numeric entities to allow them to be parsed by a XML parser. The original case of tags and attributes will be preserved, regardless of other options.
(Read and Write property)

TidyDocumentMBS.OptionXmlPIs as Boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
One of the options.

(Read and Write property)

TidyDocumentMBS.OptionXmlSpace as Boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
This option specifies if Tidy should add xml:space="preserve" to elements such as <PRE>, <STYLE> and <SCRIPT> when generating XML.

This is needed if the whitespace in such elements is to be parsed appropriately without having access to the DTD.
(Read and Write property)

TidyDocumentMBS.OptionXmlTags as Boolean   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Tidy MBS Tools Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
This item is deprecated and should no longer be used.
Set this option if the input is xml.

(Read and Write property)

Previous items

The items on this page are in the following plugins: MBS Tools Plugin.


The biggest plugin in space...