This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
|
A Tinderbox Reference File : Attributes : Attribute Data Types : Boolean Attributes : HTMLMarkupText | aTbRef Site Map |
HTMLMarkupText |
Attribute Data Type: | boolean |
Attribute Default Value: | true |
Atrribute Group: | HTML |
Attribute Inherited from Preferences? | No |
Attribute Read-Only? | No |
If set to true (default), this uses HTML mark-up to make any HTML code (e.g. code examples) within the note text render in the exported HTML as screen text and not as actual mark-up code. Thus a >
character is exported as >
so as to show as > on screen and not be parsed as HTML code.
You would use a non-default value of false for any note where you've included HTML mark-up that has already been HTML 'entified' in the note text (and so a >
character in text is exported unchanged as >
thus rendering as source code, etc.).
Whereas HTMLQuoteHTML just looks at mark-up code such as HTML/XML/PHP/etc. in the note's source text, HTMLMarkupText considers other aspects of the note. For example, if you set HTMLMarkupText to false macros aren't expanded, styles are ignored, quick links aren't created and so forth. As the attribute title implies you've turned mark-up off and you're just passing out raw text into the HTML export template. Depending on the latter's mark-up you may or may not see un-marked-up text in your browser.
Thus the default setting of true is almost invariably the correct setting for this attribute!
Up: Boolean Attributes | |
Previous: HTMLFileNameLowerCase | Next: HTMLOverwriteImages |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]