function prepareText (selection) {
  var message = selection.toString();

  if (message.length > 107) {
    message = message.substring(0, 105) + '...';
  }
  return encodeURIComponent(message);
}
// formating text and encoding to url ready view
formating text and encoding to url ready view
formating text and encoding to url ready view
function prepareText (selection) {
  var message = selection.toString();
  if (message.length > 107) {
    message = message.substring(0, 105) + '...';
  }
  return encodeURIComponent(message);
}
function prepareText ( selection ) { var message = selection . toString ( ) ; if ( message . length > 107 ) { message = message . substring ( 0 , 105 ) + '...' ; } return encodeURIComponent ( message ) ; }
formating text and encoding to url ready view
formating text and encoding to url ready view