Skip to content

Commit

Permalink
Item11512: PerlDoc breaks on badly formed html
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/branches/Release01x01@14020 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed Feb 18, 2012
1 parent 046dca8 commit e00a9c2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion BuildContrib/lib/Foswiki/Contrib/Build.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ sub _isPerl {
=begin TML
---++++ target_test
Basic CPAN:Test::Unit test target, runs <project>Suite.
Basic CPAN:Test::Unit test target, runs &lt;project>Suite.
=cut

Expand Down
10 changes: 5 additions & 5 deletions WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin/TML2HTML.pm
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ sub new {
Convert a block of TML text into HTML.
Options:
* getViewUrl is a reference to a method:<br>
* getViewUrl is a reference to a method:<br/>
getViewUrl($web,$topic) -> $url (where $topic may include an anchor)
* expandVarsInURL is a reference to a static method:<br>
expandVarsInURL($url, \%options) -> $url<br>
* expandVarsInURL is a reference to a static method:<br/>
expandVarsInURL($url, \%options) -> $url<br/>
that expands selected variables in URLs so that, for example,
<img> tags appear as pictures in the wysiwyg editor.
* xmltag is a reference to a hash. The keys are names of XML-like
tags. The values are references to a function to determine if the
content of the tag must be protected:<br>
fn($markup) -> $bool<br>
content of the tag must be protected:<br/>
fn($markup) -> $bool<br/>
The $markup appears between the <tag></tag> delimiters.
The functions may modify the markup.
* dieOnError makes convert throw an exception if a conversion fails.
Expand Down
2 changes: 1 addition & 1 deletion core/lib/Foswiki.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2527,7 +2527,7 @@ an <em>entity</em>, <strong class=html>&amp;lt;</strong>. Similarly, "&gt;"
is escaped as <strong class=html>&amp;gt;</strong>, and "&amp;" is escaped
as <strong class=html>&amp;amp;</strong>. If an attribute value contains a
double quotation mark and is delimited by double quotation marks, then the
quote should be escaped as <strong class=html>&amp;quot;</strong>.</p>
quote should be escaped as <strong class=html>&amp;quot;</strong>.
Other entities exist for special characters that cannot easily be entered
with some keyboards..."
Expand Down
4 changes: 2 additions & 2 deletions core/lib/Foswiki/Func.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2579,7 +2579,7 @@ Direct interface to %<nop>ADDTOZONE (see %SYSTEMWEB%.VarADDTOZONE)
* =requires= optional, comma-separated list of =$id= identifiers that should
precede the content
All macros present in =$data= will be expanded before being inserted into the =<head>= section.
All macros present in =$data= will be expanded before being inserted into the =&lt;head>= section.
<blockquote class="foswikiHelp">%X%
*Note:* Read the developer supplement at Foswiki:Development.AddToZoneFromPluginHandlers if you are
Expand Down Expand Up @@ -3536,7 +3536,7 @@ sub saveTopicText {
---+++ addToHEAD( $id, $data, $requires )
Adds =$data= to the HTML header (the <head> tag).
Adds =$data= to the HTML header (the &lt;head> tag).
*Deprecated* 26 Mar 2010 - use =addZoZone('head', ...)=.
Expand Down

0 comments on commit e00a9c2

Please sign in to comment.