Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: Forumtastic on November 02, 2014, 11:41:06 PM

Title: [html] tag no longer works - inserting   into code
Post by: Forumtastic on November 02, 2014, 11:41:06 PM
Just so you know, this was working perfectly before the latest update to 2.0.9.

I am the systems and forum administrator. My boss wants his audio program on the site for meetings - and he wants it in a flash MP3 player (because some people have Quicktime installed and the quicktime player stalls out after 15 minutes when playing MP3s via html download and not everyone is technical - yay Apple).

When I embed html into a post like this:

[html]
<object type="application/x-shockwave-flash" data="/zplayer.swf?mp3=/audio.mp3&c1=ea7000" width="200" height="20"/>
<param name="movie" value="/zplayer.swf?mp3=/audio.mp3&c1=ea7000" />
</object>
[/html]


It shows blank now. In the database, it shows this now:

[html]&#13;<object &#32;type="application/x-shockwave-flash" &#32;data="/zplayer.swf?mp3=/audio.mp3&c1=ea7000" &#32;width="200" &#32;height="20"/>&#13; <param &#32;name="movie" &#32;value="/zplayer.swf?mp3=/audio.mp3&c1=ea7000" &#32;/>&#13;</object>&#13;[/html]

I removed all extra spaces and retyped it and it still doesn't work but it's sticking extra "&#32;" in my code:

[html]<object &#32;type="application/x-shockwave-flash" &#32;data="/zplayer.swf?mp3=/audio.mp3&c1=ea7000" &#32;width="200" &#32;height="20"/><param &#32;name="movie" &#32;value="/zplayer.swf?mp3=/audio.mp3&c1=ea7000" &#32;/></object>[/html]

The original posts (that still work) look like this (notice no extra "&#32;"):

[html]&#13;<object type="application/x-shockwave-flash" data="/zplayer.swf?mp3=/audio.mp3&c1=ea7000" width="200" height="20"/>&#13; <param name="movie" value="/zplayer.swf?mp3=/audio.mp3&c1=ea7000" />&#13;</object>&#13;[/html]

It's encoding my text between the two html tags. If I take out the added "&#32;" codes in the database, it works. But I can't edit the database each time I have to put my bosses audio program up.

Again, this worked perfectly before the update. All the original posts still work. Any new posts do not. Any ideas? Is this a bug?

Thanks for your help!
Title: Re: [html] tag no longer works - inserting into code
Post by: margarett on November 03, 2014, 04:07:24 AM
It is. It's known already and will be fixed in next release ;)
Title: Re: [html] tag no longer works - inserting into code
Post by: Steve on November 03, 2014, 08:47:13 AM
Is it a large fix or something users can do themselves until the next release comes out?
Title: Re: [html] tag no longer works - inserting into code
Post by: margarett on November 03, 2014, 09:35:21 AM
No, it's something really small and easy
http://www.simplemachines.org/community/index.php?topic=524724.msg3716380#msg3716380
;)
Title: Re: [html] tag no longer works - inserting into code
Post by: Steve on November 03, 2014, 10:01:26 AM
I totally forgot about that ...

My memory is getting about as long as my ........................... thumb ... :P