CodeBaseX / zoundryraven

Automatically exported from code.google.com/p/zoundryraven
0 stars 1 forks source link

"<iframe></iframe>" tags gets redefined to "<iframe/>" upon blog post publishing #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Insert 2 or more Amazon.com Affiliate ads with tags "<iframe></iframe>" into 
blog post via the XHTML tab while composing the blog post.

2. Then publish blog post to my blog at blogspot.com

What is the expected output? What do you see instead?
Only one Amazon.com Affiliate ads got displayed when viewed in Opera browser - 
for both desktop v11.64 and on Opera Mini. There should be more.

What version of the product are you using? On what operating system?
Raven version 1.0.375. Windows XP SP 3 operating system.

Please provide any additional information below.
The inserted "<iframe></iframe>" tags seems to have got rewritten to 
"<iframe/>" (i.e. self terminating) when I viewed the source for the blog post. 
The closing tag got removed somewhere upon publishing.

Original issue reported on code.google.com by chuahsca...@gmail.com on 15 Jul 2013 at 4:17

GoogleCodeExporter commented 9 years ago
Forgot to mention, Raven displays the ads correctly. Also, the tags are 
correctly formed when viewed in Raven's blog editor XHTML mode - i.e. in 
"<iframe></iframe>" pairs.

Original comment by chuahsca...@gmail.com on 15 Jul 2013 at 4:37

GoogleCodeExporter commented 9 years ago
Fix it myself. What I did is to filter my blog post through uTidyLib before 
sending it off to the blog server (blogger.com in my case). Full description of 
what I did in my blog post below: 

http://chuahtc.blogspot.com/2013/09/inserting-amazon-affiliate-ads-in.html

Original comment by chuahsca...@gmail.com on 25 Sep 2013 at 4:34