Parses JSPWiki-style "augmented" link markup into a Link object
containing the link text, link reference, and any optional link
attributes (as JDOM Attributes).
The parser recognizes three link forms:
- [Text]
- [Text | Link]
- [Text | Link | attributes]
where the attributes are space-delimited, each in the form of
name1='value1' name2='value2' name3='value3' (etc.)
If the attribute parsing fails, the parser will still return the
basic link, writing a warning to the log.
Permitted Attributes
Attributes that aren't declared on <a> or those that
permit scripting in HTML (as this is a security risk) are ignored
and have no effect on parsing, nor show up in the resulting attribute
list). |