Merge pull request #13 from greenshot/feature/BUG-1884_ocr_trailing_blank_spaces

Fix for BUG-1884, added a trim call for the scanned text
This commit is contained in:
jklingen 2016-03-24 22:18:52 +01:00
commit 5201009920
2 changed files with 9 additions and 1 deletions

View file

@ -202,6 +202,9 @@ namespace GreenshotOCR {
return null;
}
// For for BUG-1884:
text = text.Trim();
try {
LOG.DebugFormat("Pasting OCR Text to Clipboard: {0}", text);
// Paste to Clipboard (the Plugin currently doesn't have access to the ClipboardHelper from Greenshot