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

If empty, the article abstract must consist of the first lines of the content

      If the article abstract is empty, in content aggregation, the abstract must consist of the first lines of the content

          [CMS-1735] If empty, the article abstract must consist of the first lines of the content

          Create a XSL helper :

          <!-- Keeps whole word, 
               adds breakline to each paragraphs and titles (p, h1, h2, ..), 
               removes images and styles (strong, i, ...)-->
          <xsl:template name="troncate">
              <xsl:param name="content"/>
              <xsl:param name="length"/>
              
              <!-- // ... -->
          </xsl:template>
          
          

          Laurence Aumeunier added a comment - Create a XSL helper : <!-- Keeps whole word, adds breakline to each paragraphs and titles (p, h1, h2, ..), removes images and styles (strong, i, ...)--> < xsl:template name= "troncate" > < xsl:param name= "content" /> < xsl:param name= "length" /> <!-- // ... --> </ xsl:template >

            ngavalda Nicolas Gavalda (Inactive)
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: