Hi all, I'm having an issue with HTML embed code in Redcloth 4.0.3. The following embed code is part of some textile that is being rendered with the this command: output = RedCloth.new(text, [:no_span_caps]).to_html(:textile) <embed src="http://demo.assetbank.co.uk/assetbank-standard/too... " width="320" height="268" scale="scale" bgcolor="111111" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" allowNetworking="all" pluginspage="http://www.macromedia.com/go/getflashplayer "></embed> This code is completely escaped, with no trace of it in the output. However, if I paste it on the same line as some other text, or with text inside the embed tag, it outputs correctly. This is embed code <embed src="http://demo.assetbank.co.uk/assetbank-standard/too... " width="320" height="268" scale="scale" bgcolor="111111" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" allowNetworking="all" pluginspage="http://www.macromedia.com/go/getflashplayer "></embed> or <embed src="http://demo.assetbank.co.uk/assetbank-standard/too... " width="320" height="268" scale="scale" bgcolor="111111" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" allowNetworking="all" pluginspage="http://www.macromedia.com/go/getflashplayer ">i am inside embed code</embed> The above both render correctly. I presume this is a bug with Textile? Please let me know if there's a better place to file this, or if you need anymore information. Cheers, Tom
on 2008-10-02 17:12
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.