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

SVG smileys with the coming DokuWiki release #269

Open
Klap-in opened this issue Jan 7, 2022 · 0 comments
Open

SVG smileys with the coming DokuWiki release #269

Klap-in opened this issue Jan 7, 2022 · 0 comments

Comments

@Klap-in
Copy link
Collaborator

Klap-in commented Jan 7, 2022

The coming release of DokuWiki uses SVG instead of GIF-images for the smileys. The gif-images are already removed in coming release.

Not sure if ODT files supports already svg-files, if not, extra attention could be needed due to this change.
(Not tested).

function smiley($smiley) {
if ( array_key_exists($smiley, $this->smileys) ) {
$src = DOKU_INC."lib/images/smileys/".$this->smileys[$smiley];
$this->_odtAddImage($src);
} else {
$this->document->addPlainText($smiley);
}
}

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