Global Tag Attributes

The attributes described in Table B.10 can be applied to any of Movable Type's variable tags, and they mostly control how the values they insert are formatted.

Table B.10. Global Tag Attributes
AttributeDescription
decode_htmlSet to 1, this attribute reverses the encoding performed by encode_html. Character entities are converted into the raw characters they represent.
decode_xmlSet to 1, this attribute reverses the encoding performed by encode_xml. Character entities are converted into the raw characters they represent.
dirifySet to 1, this attribute causes the value of the tag to be made safe for use in a file path. Specifically:
  1. The value is converted to lowercase.

  2. Any HTML tags or entities are stripped.

  3. Some high-ASCII characters, ...

Get Sams Teach Yourself Movable Type in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.