Ignore:
Timestamp:
05/13/09 20:16:40 (3 years ago)
Author:
MichaelTempest
Message:

Item1535, Item1397: Merge changes from trunk to release branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release01x00/WysiwygPlugin/lib/Foswiki/Plugins/WysiwygPlugin/TML2HTML.pm

    r3899 r3900  
    472472      (CGI::span({class => 'WYSIWYG_TT'}, $1))gem; 
    473473 
    474     # Handle [[][] and [[]] links 
     474    # Handle [[][]] and [[]] links 
    475475 
    476476    # We _not_ support [[http://link text]] syntax 
     
    772772        } 
    773773 
    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 } );  
    775778    } 
    776779 
Note: See TracChangeset for help on using the changeset viewer.