Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28059

Email link / clickable email not working in 2.03 forums

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3, 2.1.1, 2.2
    • Fix Version/s: 2.0.5, 2.1.2
    • Component/s: Forum
    • Labels:
    • Environment:
      PC and Mac
    • Testing Instructions:
      Hide

      Create forum post:
      1. Type text (e.g. email@example.com).
      2. Select the text
      3. Click the link icon in the WYSIWYG editor
      4. Under Link URL type: email@example.com.
      5. clicked insert.
      6. Moodle creates the link.
      7. Click submit
      8. View your post
      expected result:
      The mailto link is retailed
      actual result:
      The mailto is stripped from the html

      Show
      Create forum post: 1. Type text (e.g. email@example.com). 2. Select the text 3. Click the link icon in the WYSIWYG editor 4. Under Link URL type: email@example.com . 5. clicked insert. 6. Moodle creates the link. 7. Click submit 8. View your post expected result: The mailto link is retailed actual result: The mailto is stripped from the html
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      When a news item / forum post is added and it includes a link to an email address (email@example.com), the address is highlighted and underlined like a link but the link is not "clickable".

      I have tried:

      Process 1-Manual HTML Coding:

      1. I typed my text (e.g. email@example.com)
      2. I click the HTML icon.
      3. I added this code sequence: <a href= m a i l t o : email @ example.com>email @ example.com</a>
      4. I clicked Update
      5. Moodle created the link.

      Process 2:

      1. Type text (e.g. email@example.com).
      2. Select the text
      3. Click the link icon in the WYSIWYG editor
      4. Under Link URL I typed: email@example.com.
      5. I clicked insert.
      6. Moodle created the link.

      After both processes Moodle created the link. Once the post was posted to the forum, Moodle stripped the formatting so that it read: <a>email@example.com</a>. When looking at the post, Moodle makes the email appear in blue (as though it were a link), but it you cannot click on the link (or at least it does not take you anywhere).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                20 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Oct/11