Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12478

pdf.vm and content.vm templates are using Legacy OldCore API

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.2-rc-1
    • 7.1.2
    • Annotations
    • None
    • Unknown
    • N/A
    • N/A

    Description

      It's used to deal with 1.0 documents footnotes.

      ## TODO: move that in a place common to old and new rendering footnotes
      #if ($doc.syntax.toIdString() == 'xwiki/1.0')
      $services.progress.startStep('Display the footnotes')
      #set($footnotes = "#putFootnotes()")
      $xwiki.renderText($footnotes, $doc)
      $services.progress.endStep()
      #end
      

      getRenderedContent should do the same thing from what I understand (execute some content in the context of the current document)

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: