Uploaded image for project: 'Blog Application'
  1. Blog Application
  2. BLOG-128

Cannot use HTML5 in Blog Posts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 9.9.1
    • Unknown
    • Awaiting Committer feedback

    Description

      You cannot use HTML5 code inside Blog Posts. This is possible in normal pages.

      For example, try to have this content:

      {{velocity}}
      {{html clean="false"}}
      <video controls muted src="$xwiki.getURL($services.model.resolveAttachment('Help.Templates.WebHome@Administration.webm'))" width="200px">
        Sorry, your browser doesn't support embedded videos.
      </video>
      {{/html}}
      {{/velocity}}
      

      see expected.png and blogpost.png

      The Blog app will display:

      Sorry, your browser doesn't support embedded videos.
      

      Affects and tested on XWiki 8.4.4 (xwiki.org) and 10.11.1.

      Attachments

        1. Blog.HTML5.xar
          2 kB
        2. blogpost.png
          blogpost.png
          89 kB
        3. blogpreview.png
          blogpreview.png
          145 kB
        4. expected.png
          expected.png
          125 kB

        Activity

          People

            MichaelHamann Michael Hamann
            evalica Ecaterina Moraru (Valica)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: