Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > uk.comp.sys.mac > #132605

Re: Strip text formatting but preserve hyperlinks

From Bruce Horrocks <07.013@scorecrow.com>
Newsgroups uk.comp.sys.mac
Subject Re: Strip text formatting but preserve hyperlinks
Date 2019-07-30 01:57 +0100
Message-ID <6d82e526-5405-e0ff-63c3-708c142ec036@scorecrow.com> (permalink)
References <gq86akFpugdU1@mid.individual.net>

Show all headers | View raw


On 29/07/2019 13:15, Martin-S wrote:
> I often copy&paste text from different sources to compose emails.
> 
> I need to preserve any hyperlinks but at the same time I want to strip 
> any formatting from the text to unify its appearance.
> 
> Converting to plain text loses the hyperlinks.

Using plain text means that you will be relying on the recipient's email 
client to identify the URLs and show them as clickable links.

Marking the URLs as:

     <URL: http://www.example.com>

will help with this, especially long ones that break over a line.

Tip: You can see how your email is likely to look at the recipient's end 
by saving it as a draft. Previewing the draft causes Mil to highlight 
URLs even though re-editing the raft doesn't.

> Simply selecting all text and styling it the same using Mail's 
> formatting buttons looks fine in Mail, but shows inconsistent formatting 
> when viewed in other email clients. >
> Is there a solution?
> 
> Any ideas would be much appreciated.

When the message format is rich text then Mail auto-converts typed URLs 
but not pasted in text. So you could use an Applescript to 'type' the 
paste buffer for you. That would trick Mail into formatting the URLs.

-- 
Bruce Horrocks
Surrey
England
(bruce at scorecrow dot com)

Back to uk.comp.sys.mac | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Strip text formatting but preserve hyperlinks Martin-S <invalid@nomail.com> - 2019-07-29 14:15 +0200
  Re: Strip text formatting but preserve hyperlinks Ray <amos-jones@outlook.com> - 2019-07-29 15:57 +0100
    Re: Strip text formatting but preserve hyperlinks jeremy <jeremy0505@gmail.com> - 2019-07-29 17:00 +0100
      Re: Strip text formatting but preserve hyperlinks Savageduck <savageduck1@{REMOVESPAM}me.com> - 2019-07-29 11:12 -0700
        Re: Strip text formatting but preserve hyperlinks black.hole@jonbradbury.com (Jon B) - 2019-07-30 09:58 +0100
          Re: Strip text formatting but preserve hyperlinks snipeco.2@gmail.com (Sn!pe) - 2019-07-30 10:25 +0100
      Re: Strip text formatting but preserve hyperlinks deKay <nospam.andyk@lofi-gaming.nospam.org.uk.nospam> - 2019-07-29 18:24 +0000
        Re: Strip text formatting but preserve hyperlinks jeremy <jeremy0505@gmail.com> - 2019-07-30 09:22 +0100
          Re: Strip text formatting but preserve hyperlinks deKay <andyk@lofi-gaming.org.uk> - 2019-07-30 10:49 +0100
      Re: Strip text formatting but preserve hyperlinks Ray <amos-jones@outlook.com> - 2019-07-29 19:17 +0000
  Re: Strip text formatting but preserve hyperlinks Bruce Horrocks <07.013@scorecrow.com> - 2019-07-30 01:57 +0100

csiph-web