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

why the img tag is not closed? #202

Open
wujbclzw opened this issue Jan 24, 2019 · 1 comment
Open

why the img tag is not closed? #202

wujbclzw opened this issue Jan 24, 2019 · 1 comment

Comments

@wujbclzw
Copy link

the image tag in result of gethtml is
<img src="https://www.1honeywan.com/dachshund/image/7.21/7.21_3_thumb.JPG" alt="dachshund">
this html tag is not closed, just like <img .... />
In the file 'rich_editor.js', the Insert image function looks no problem.

RE.insertImage = function(url, alt) {
    var html = '<img src="' + url + '" alt="' + alt + '" />'; 
    RE.insertHTML(html);
}
@Yangwenhua44
Copy link

这确实是个bug

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

2 participants