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

Attribute "ametys_meta" should not be used in <abbr> tag

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.7, 3.9
    • None
    • None
    • None

      How to reproduce :

      In the newsletter, insert last news. This code appears :

      <abbr ametys_meta="defaultWebContent://4bd68f31-1617-4fed-82e8-dbff18d3bf42@content" class="dtstart" title="2013-10-23T00:00:00.000+02:00">23 octobre 2013</abbr>

        1. CMS_wrong_regexp.patch
          0.5 kB
          Quentin Glinel-Mortreuil

          [CMS-6079] Attribute "ametys_meta" should not be used in <abbr> tag

          Laurence Aumeunier added a comment - - edited

          Furthermore, the insert HTML is wrong

          <p class="content-date">
          Du <abbr class="dtstart"><span title="2013-05-22T00:00:00.000+02:00" class="value-title">22 mai 2013</span></abbr> 
          au <abbr class="dtend"><span title="2013-05-24T00:00:00.000+02:00" class="value-title">24 mai 2013</span></abbr>
          </p>
          

          it should be:

          <p class="content-date">
          Du <abbr class="dtstart"><span title="2013-05-22T00:00:00.000+02:00" class="value-title"></span>22 mai 2013</abbr> 
          au <abbr class="dtend"><span title="2013-05-24T00:00:00.000+02:00" class="value-title"></span>24 mai 2013</abbr>
          </p>
          

          It is due to the XML serializer

          Laurence Aumeunier added a comment - - edited Furthermore, the insert HTML is wrong <p class= "content-date" > Du <abbr class= "dtstart" > <span title= "2013-05-22T00:00:00.000+02:00" class= "value-title" > 22 mai 2013 </span> </abbr> au <abbr class= "dtend" > <span title= "2013-05-24T00:00:00.000+02:00" class= "value-title" > 24 mai 2013 </span> </abbr> </p> it should be: <p class= "content-date" > Du <abbr class= "dtstart" > <span title= "2013-05-22T00:00:00.000+02:00" class= "value-title" > </span> 22 mai 2013 </abbr> au <abbr class= "dtend" > <span title= "2013-05-24T00:00:00.000+02:00" class= "value-title" > </span> 24 mai 2013 </abbr> </p> It is due to the XML serializer

            laurence Laurence Aumeunier
            llopez Laure Lopez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: