Changeset 101


Ignore:
Timestamp:
Sep 19, 2016, 10:12:11 AM (8 years ago)
Author:
chronos
Message:
  • Fixed: Replace special symbol for non-breaking space by space so trimming such spaces from string works as expected.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UAcronym.pas

    r97 r101  
    493493            T := StringReplace(T, '™', 'TM', [rfReplaceAll]);
    494494            T := StringReplace(T, '&', '&', [rfReplaceAll]);
    495             T := StringReplace(T, ' ', ' ', [rfReplaceAll]); // No break space
     495            T := StringReplace(T, ' ', ' ', [rfReplaceAll]); // Non-breaking space
     496            T := StringReplace(T, #$C2#$A0, ' ', [rfReplaceAll]); // Non-breaking space
    496497            T := StringReplace(T, '&lt;', '<', [rfReplaceAll]);
    497498            T := StringReplace(T, '&gt;', '>', [rfReplaceAll]);
Note: See TracChangeset for help on using the changeset viewer.