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

Cannot use HTML5 in Blog Posts

    XMLWordPrintable

Details

    • Bug
    • Resolution: Solved By
    • Major
    • None
    • 9.9.1
    • Unknown
    • N/A
    • N/A
    • 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. expected.png
          expected.png
          125 kB
        2. blogpreview.png
          blogpreview.png
          145 kB
        3. blogpost.png
          blogpost.png
          89 kB
        4. Blog.HTML5.xar
          2 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: