
| Line: 7 to 7 | ||||||||
|---|---|---|---|---|---|---|---|---|
ClassMethod new ($session) | ||||||||
| Changed: | ||||||||
| < < | Creates a new renderer with initial state from preference values (NEWTOPICBGCOLOR, NEWTOPICFONTCOLOR NEWTOPICLINKSYMBOL LINKTOOLTIPINFO) | |||||||
| > > | Creates a new renderer
ObjectMethod finish ()Break circular references. | |||||||
| Line: 25 to 28 | ||||||||
| Deleted: | ||||||||
| < < | ObjectMethod renderFormField ($web,$topic,$meta,$params) -> $textRender meta-data for a single formfield | |||||||
ObjectMethod makeAnchorName ($anchorName,$compatibilityMode) -> $anchorName | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| Build a valid HTML anchor name | ||||||||
| Changed: | ||||||||
| < < | ObjectMethod internalLink ($theWeb,$theTopic,$theLinkText,$theAnchor,$doLink,$doKeepWeb) -> $html | |||||||
| > > | ObjectMethod internalLink ($theWeb,$theTopic,$theLinkText,$theAnchor,$doLink,$doKeepWeb,$hasExplicitLinkLabel) -> $html | |||||||
Generate a link.
Note: Topic names may be spaced out. Spaced out names are converted to WikWords,
for example, "spaced topic name" points to "SpacedTopicName".
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Added: | ||||||||
| > > |
| |||||||
| Called by _handleWikiWord and _handleSquareBracketedLink and by Func::internalLink | ||||||||
| Line: 113 to 111 | ||||||||
| Deleted: | ||||||||
| < < | ObjectMethod takeOutProtected (\$text,$re,\%map) -> $text
ObjectMethod putBackProtected (\$text,\%map,$callback) -> $textReturn value: $text with blocks added back
| |||||||
ObjectMethod takeOutBlocks (\$text,$tag,\%map) -> $text
| ||||||||
| Line: 234 to 206 | ||||||||
\%options may contain:
| ||||||||
| Added: | ||||||||
| > > |
| |||||||
| ||||||||
| Changed: | ||||||||
| < < | The spec of \&fn is sub fn( \$line, \%options ) -> $newLine; the %options hash passed into this function is passed down to the sub, and the keys in_pre, in_verbatim and in_noautolink are set boolean TRUE if the line is from one (or more) of those block types. | |||||||
| > > | The spec of \&fn is sub fn( $line, \%options ) -> $newLine. The %options
hash passed into this function is passed down to the sub, and the keys
in_literal, in_pre, in_verbatim and in_noautolink are set boolean
TRUE if the line is from one (or more) of those block types. | |||||||
| The return result replaces $line in $newText. | ||||||||
| Added: | ||||||||
| > > | StaticMethod getReferenceRE ($web,$topic,%options) -> $re
s///
| |||||||
StaticMethod replaceTopicReferences ($text,\%options) -> $textCallback designed for use with forEachLine, to replace topic references. \%options contains:
| ||||||||
| Deleted: | ||||||||
| < < |
| |||||||
| ||||||||
| Line: 275 to 270 | ||||||||
| Deleted: | ||||||||
| < < | StaticMethod renderFormFieldArg ($meta,$args) -> $textParse the arguments to a $formfield specification and extract the relevant formfield from the given meta data.
args can be appended with a commas
followed by a string format (\d+)([,\s*]\.\.\.)?). This supports the formatted
search function $formfield and is used to shorten the returned string or a
hyphenated string.
| |||||||
StaticMethod breakName ($text,$args) -> $text
| ||||||||
| Line: 301 to 282 | ||||||||
| as it is a rendering function_ | ||||||||
| Added: | ||||||||
| > > |
StaticMethod protectFormFieldValue ($value,$attrs) -> $htmlGiven the value of a form field, and a set of attributes that control how to display that value, protect the value from further processing. The protected value is determined from the value of the field after:
| |||||||