Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17345

URLs in OE literal tag (html) are linked when pasted into IE

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • Future
    • 4.3.0, 4.4.0, 4.4.0alpha1
    • None
    • eZ Publish 4.3, 4.4
      OE 5.1, 5.2

    Description

      Hi, we are using an external video publishing system called "Brightcove". It generates HTML for us to embed videos in a webpage. We've been using OE's literal tag to insert the HTML to our web pages. However some of our users experienced some issue with the literal tag altering the original code when the page is published and resulting the video not being displayed. Could you please let us know if this is a known issue with the literal tag? The issue doesn't seem to be replicable in every environment. It tends to happen when the editor is using IE8/7 or Firefox on windows.

      Steps to reproduce

      If you have the EDITOR ENABLED and you take the following steps, the javascript code that Brightcove provides will be broken and the video will not play in the page:

      1) In eZ, create an article with editor enabled
      2) Position cursor in "Body text" field of article
      3) Click to add literal text (html) and click "ok" in the dialogue box - a purple bar will appear
      4) Paste the brightcove code into the purple bar
      5) Click "Send for publishing"
      6) Once the article has made its way through the publishing workflow (being approved), view in the front-end of the site
      7) You'll notice the video player is not present in the page.
      8) If you "View source" on the page, you can see that there is a Brightcove code snippet on the page

      But the snippet that is on the page does not match what was copied out of brightcove - here is an example of the difference in the code:

      From brightcove (affected line of the code snippet, only):

      <script language="JavaScript" type="text/javascript" src="http://admin.brightcove.com/js/BrightcoveExperiences.js"></script>

      Once pasted into the purple bar in the article page template (affected line of the code snippet, only):

      <script language="JavaScript" type="text/javascript" src="<A href="http://admin.brightcove.com/js/BrightcoveExperiences.js%22%3E%3C/script">http://admin.brightcove.com/js/BrightcoveExperiences.js"></script</A>>

      Attachments

        Activity

          People

            jv@ez.no jv@ez.no
            gl gl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: