| Apr 18, 2007 at 03:39 AM | |
DevTip: Preserving HTML DescriptionsWith the introduction of the Universal Installer in Mambo 4.6.x, changes need to be made to the HTML coding of descriptions for extensions. Many developers include useful descriptions of the features or use of their extension. The correct way to include HTML coded data within the description of an extension is by using CDATA blocks. This preserves the formatting of the description. An example of a correct CDATA block can be seen in the MOStlyCE editor addon: Code: So, from 4.6.x on, all extensions will need to include their HTML-coded descriptions within CDATA tags in order for the formatting to be preserved. The tags to use to enclose your HTML description are: Code: This change was made to provide "future-proofing" as Mambo moves towards enabling users to deliver sites as valid XHTML. Note, the Universal Installer does not strip the text contained within your HTML tags, but all HTML formatting is lost unless you use CDATA. |
| <Previous | Next> |
|---|
