Platforms to show: All Mac Windows Linux Cross-Platform
Back to TidyDocumentMBS class.
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.