|Version 3 (modified by 8 years ago) (diff),|
Inline XHTML Markup Macro
Notice: This plugin is unmaintained and available for adoption.
Returns raw, inline XHTML markup that has been validated and sanitized.
Markup that doesn't follow these requirements will be rejected with an error message:
- Elements must be well-formed.
- Tags and attribute names must be in lowercase, attribute values are required and must be enclosed in quotes.
- Empty elements must be self-closing with a space before the forward slash, e.g. <img ... />.
Dangerous constructs such as <script> elements will be removed.
Inline is useful for creating "phrase" elements not supported by WikiFormatting, or for including
attributes such as titles. The
#!html WikiProcessor works well for creating larger
chunks of markup, and in particular block-level elements such as an <address> that are also not supported
(a Microformat is an excellent example). However,
Inline is designed to be
embedded directly in another construct, typically a paragraph of text.
If you have any issues, create a new ticket.
Download the zipped source from [download:inlinemacro here].
...is now a [[Inline(<acronym title="Python Enhancement Proposal">PEP</acronym>)]]. Visit [[Inline(<a href="..." title="My Link">my link</a>)]].
- Author: dwclifton
- Contributors: The Python and Trac development community.