Fix missing emoticons on html-to-text conversion
| | |
| | | CHANGELOG Roundcube Webmail |
| | | =========================== |
| | | |
| | | |
| | | - Fix missing emoticons on html-to-text conversion |
| | | - Fix random "access to this resource is secured against CSRF" message at logout (#1490641) |
| | | - Fix missing language name in "Add to Dictionary" request in HTML mode (#1490634) |
| | | - Enable use of TLSv1.1 and TLSv1.2 for IMAP (#1490640) |
| | |
| | | |
| | | foreach ($emoticons as $idx => $file) { |
| | | // <img title="Cry" src="http://.../program/js/tinymce/plugins/emoticons/img/smiley-cry.gif" border="0" alt="Cry" /> |
| | | $search[] = '/<img title="[a-z ]+" src="https?:\/\/[a-z0-9_.\/-]+\/tinymce\/plugins\/emoticons\/img\/'.$file.'.gif"[^>]+\/>/i'; |
| | | $file = preg_quote('program/js/tinymce/plugins/emoticons/img/' . $file . '.gif', '/'); |
| | | $search[] = '/<img (title="[a-z ]+" )?src="[^"]+' . $file . '"[^>]+\/>/i'; |
| | | $replace[] = $idx; |
| | | } |
| | | |