We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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>
just saying
Note: for those wondering how add /> in img,br,hr tag from summernote&other textarea editor, i use HTMLPurifier on the string :
$config = HTMLPurifier_Config::createDefault(); $config->set('URI.AllowedSchemes',array('data' => true)); $this->HTMLPurifier=new HTMLPurifier($config);
The text was updated successfully, but these errors were encountered:
@ledahu This issue has been fixed by a maintainer. You can help him by sponsoring him through Github sponsors.
Sorry, something went wrong.
Progi1984
Successfully merging a pull request may close this issue.
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: