Closed siddhantk232 closed 2 weeks ago
Providing a caption (srcdoc) to ftd.iframe renders a src attribute. This is fixed in this PR.
srcdoc
ftd.iframe
src
The expected output html for the following ftd code:
-- ftd.iframe <h1>hello world</h1>
should be:
<iframe srcdoc="<h1>hello world</h1>" />
but it is (notice the attribute is src):
<iframe src="<h1>hello world</h1>" />
The will result in an invalid url error in browsers.
seems like the only test failed is 'tests::fbt' panicked at fastn-core/src/lib.rs:207:13
'tests::fbt' panicked at fastn-core/src/lib.rs:207:13
Providing a caption (
srcdoc
) toftd.iframe
renders asrc
attribute. This is fixed in this PR.The expected output html for the following ftd code:
should be:
but it is (notice the attribute is
src
):The will result in an invalid url error in browsers.