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

img , p in view not working. #162

Open
magic-thomas opened this issue Feb 15, 2022 · 0 comments
Open

img , p in view not working. #162

magic-thomas opened this issue Feb 15, 2022 · 0 comments

Comments

@magic-thomas
Copy link

in blade view , I did

<div>
{!! clean( nl2br( e( $post->content ))) !!}
 </div>

in my view page

I see this result as html source.

<p><img alt="1.jpg this is image" data-file-srl="12345" src="https://image.example.com/1.jpg" title="" /></p>

It does not show image.

I didn't change anything in config file.

How can I display image and translate P tag to line feed ?

@magic-thomas magic-thomas changed the title img , p show as tag in view not working. img , p in view not working. Feb 15, 2022
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