Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4115787

Mapping of e-mail addresses within @authour tags

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.2.0
    • tools



      Name: rm29839 Date: 02/26/98


      What I'd like to see is a way of automatically parsing an Author's e-mail address
      so that it gets formatted nicely for HTML output.

      An e-mail address in the author field should be quite easy to pick out,
      since it will be easily detectable using a regular expression (probably
      even integratable into the lexical analyser for javadoc ...)

      Once the e-mail address has been detected, then it would be nice to have:

      @author Alex Blewitt <###@###.###>

      translated into:

      Alex Blewitt &lt;<a href="mailto:###@###.###"><address>###@###.###</address></a>&gt;

      I'm not sure if the specific <> could be detected/would want to be detected or passed through as an HTML tag or not.
      The only reason for suggesting the <> is because that a fair number of (text based) e-mail programs use it
      to determine the difference between a
      text display name and an e-mail address.
      (Review ID: 25703)
      ======================================================================

            dkramersunw Douglas Kramer (Inactive)
            rmandelsunw Ronan Mandel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: