cssarma / flowplayer-plugins

Automatically exported from code.google.com/p/flowplayer-plugins
0 stars 0 forks source link

content plugin fails on html with quote characters #26

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Configure the content plugin with some simple html that includes quote 
characters.  For example:
   {html: '<p>This is visible.</p>  <a href="http://example.com/">This is not</a>'}

What is the expected output? What do you see instead?

I expected to see:

  This is visible. This is not. end

I actually see:

  This is visible.

What version of the product are you using? On what operating system?

3.2.8 on Linux

Please provide any additional information below.

Original issue reported on code.google.com by tadafor...@gmail.com on 6 Apr 2012 at 11:39

GoogleCodeExporter commented 8 years ago
(Please ignore the word "end" above. It was a copy and paste artifact.)

Original comment by tadafor...@gmail.com on 6 Apr 2012 at 11:41

GoogleCodeExporter commented 8 years ago
I get the expected output if I rewrite my javascript to surround the html 
string with quote characters and use apostrophe characters in the html, like so:

{html: "<p>This is visible.</p>  <a href='http://example.com/'>So is this.</a>"}

Original comment by tadafor...@gmail.com on 6 Apr 2012 at 11:42