Platforms to show: All Mac Windows Linux Cross-Platform
Back to TidyDocumentMBS class.
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 |
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 |
This option specifies that Tidy should skip nested tags when parsing script and style data.
(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 |
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.OptionStrictTagsAttributes as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Tidy | MBS Tools Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
(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 |
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 |
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 |
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 |
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 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 |
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 |
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 |
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 |
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 |
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 |
(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 |
This option specifies if Tidy should line wrap text contained within <![ ... ]> 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 |
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 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 |
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 |
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 |
(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 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 |
(Read and Write property)
The items on this page are in the following plugins: MBS Tools Plugin.