-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
AddHtml , img base64, ODtext : strange behavior #2240
Labels
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
using Html::addHtml()
$html= "<body><p><img src="data:image/jpeg;base64,XXXXXXX" /></p></body>
writer HTML : ok
writer Word2007 : ok
writer ODText : img not showing, but existing without error in the ODT XML (odt is zip, just extract it)
then
$html= "<body><img src="data:image/jpeg;base64,XXXXXXX" /><p>stuff</p></body>
=> img showing in ODT
$html= "<body><div><img src="data:image/jpeg;base64,XXXXXXX" /></div></body>
=> img showing in ODT
just saying
Note: for those wondering how add /> in img,br,hr tag from summernote&other textarea editor, i use HTMLPurifier on the string :
The text was updated successfully, but these errors were encountered: