Changeset 3900 for branches/Release01x00/WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin/TML2HTML.pm
- Timestamp:
- 05/13/09 20:16:40 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Release01x00/WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin/TML2HTML.pm
r3899 r3900 472 472 (CGI::span({class => 'WYSIWYG_TT'}, $1))gem; 473 473 474 # Handle [[][] and [[]] links474 # Handle [[][]] and [[]] links 475 475 476 476 # We _not_ support [[http://link text]] syntax … … 772 772 } 773 773 774 push( @tr, { fn => $fn, attr => $attr, text => $cell } ); 774 $cell = ' '.$cell if $cell =~ /^(?:\*|==?|__?)[^\s]/; 775 $cell = $cell.' ' if $cell =~ /[^\s](?:\*|==?|__?)$/; 776 777 push( @tr, { fn => $fn, attr => $attr, text => $cell } ); 775 778 } 776 779
Note: See TracChangeset
for help on using the changeset viewer.
