Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-3973

The first email link is lost if content contains another one

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.4.1, 3.5
    • None
    • None
    • None

      • Edit a content
      • Insert 2 emails links consecutively
      • Save

      Only the second link is correct

      HTML source code is:

      <p>
      <a class="simple" href="">laurence@anyware-services.com</a>
      </p>
      <p>
      <a class="mailto" href="mailto:john.doe@free.fr">john.doe@free.fr</a>
      <script type="text/javascript">
      ...
      </script>
      </p
      

          [CMS-3973] The first email link is lost if content contains another one

          Laurence Aumeunier added a comment - - edited

          In edition, if you look at the source code (dev mode) just after inserting the second link , the first email link has already lost its style and ametys_href attribute

          <p>
          <a class="simple" target="" ametys_meta="defaultWebContent://eae77865-9752-483e-a693-986819bd8c04@content">laurence@aumeunier.fr</a>
          </p>
          <p>
          <a class="mailto" href="mailto:toto@free.fr" ametys_type="mail" ametys_href="mailto:toto@free.fr" target="" ametys_meta="defaultWebContent://eae77865-9752-483e-a693-986819bd8c04@content">toto@free.fr</a>
          <p>
          

          Laurence Aumeunier added a comment - - edited In edition, if you look at the source code (dev mode) just after inserting the second link , the first email link has already lost its style and ametys_href attribute <p> <a class= "simple" target= "" ametys_meta=" defaultWebContent://eae77865-9752-483e-a693-986819bd8c04@content"> laurence@aumeunier.fr </a> </p> <p> <a class= "mailto" href= "mailto:toto@free.fr" ametys_type= "mail" ametys_href= "mailto:toto@free.fr" target= "" ametys_meta=" defaultWebContent://eae77865-9752-483e-a693-986819bd8c04@content"> toto@free.fr </a> <p>

          if 2 mails are separated by text it works fine

          Laurence Aumeunier added a comment - if 2 mails are separated by text it works fine

            raphael Raphaƫl Franchet
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: