Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML being cleaned out of Tags #198

Open
DouglasRMiles opened this issue Jul 5, 2020 · 0 comments
Open

HTML being cleaned out of Tags #198

DouglasRMiles opened this issue Jul 5, 2020 · 0 comments

Comments

@DouglasRMiles
Copy link

DouglasRMiles commented Jul 5, 2020

HTML being is cleaned out of tags...

echo '<iframe src="http://www.google.com" name="iframe_a" height="200
" width="300" title="Iframe Example"></iframe><a target="iframe_a" href="https://github.com">iframe_a</a>' | b html

Here is expected output

<iframe src="http://www.google.com" name="iframe_a" height="200" width="300" title="Iframe Example">...</iframe>
<a target="iframe_a" href="https://github.com">iframe_a</a>

Here is what I get instead

<iframe height="200" width="300" title="Iframe Example">...</iframe>
<a href="https://github.com">iframe_a</a>

Is there a way to preserve the HTML as emitted ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant